Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

manifest: allow disabling the workload secret #1130

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

burgerdev
Copy link
Contributor

@burgerdev burgerdev commented Jan 8, 2025

There may be reasons for disabling the workload secret, for example the principle of least privilege. As of today, setting WorkloadSecretID to an empty string (or removing it from the manifest) causes a pod initialization failure. This PR changes the workload secret handling such that an empty string disables the workload secret (it won't be derived by the coordinator and won't be written by the initializer).

Sorry, something went wrong.

@burgerdev burgerdev added the changelog PRs that should be part of the release notes label Jan 8, 2025
@burgerdev burgerdev changed the title coordinator: only create workload secret if requested coordinator: only create workload secret if not disabled Jan 8, 2025
@burgerdev burgerdev requested a review from katexochen January 9, 2025 09:24
@burgerdev burgerdev marked this pull request as ready for review January 9, 2025 09:24
@burgerdev burgerdev force-pushed the burgerdev/no-empty-secrets branch from 7158a33 to 58339fa Compare January 24, 2025 08:57
@burgerdev burgerdev changed the title coordinator: only create workload secret if not disabled manifest: allow disabling the workload secret Jan 24, 2025
@katexochen katexochen added this to the v1.4.0 milestone Jan 24, 2025
@burgerdev burgerdev merged commit 3dea5cb into main Jan 24, 2025
12 checks passed
@burgerdev burgerdev deleted the burgerdev/no-empty-secrets branch January 24, 2025 10:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog PRs that should be part of the release notes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants