Skip to content

feat: the api can create a Secret a stream Job owns - #794

Closed
lukepolo wants to merge 2 commits into
mainfrom
feat/api-creates-job-secrets
Closed

lukepolo wants to merge 2 commits into
mainfrom
feat/api-creates-job-secrets

Conversation

@lukepolo

Copy link
Copy Markdown
Contributor

The api's Role can now create Secrets, so a stream sent to Twitch reads its key from a Secret its own Job owns instead of from the Job spec.

  • create added to the api Role's secrets verbs; still no update, patch or delete
  • Kubernetes deletes each such Secret with its Job (ownerReference), so nothing is left to clean up
  • tests/scripts/api_rbac_test.sh pins the verbs and runs in Panel scripts

From DEAFCS 805de539

@lukepolo

Copy link
Copy Markdown
Contributor Author

Not needed: the stream key now goes from the api to the pod over the pod's own spec-server token, so the api no longer creates Secrets.

@lukepolo lukepolo closed this Nov 19, 2026
@lukepolo
lukepolo deleted the feat/api-creates-job-secrets branch November 19, 2026 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant