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

[release/v1.2] cli: make default WorkloadSecretIDs unique per k8s object #1131

Open
wants to merge 2 commits into
base: release/v1.2
Choose a base branch
from

Conversation

burgerdev
Copy link
Contributor

@burgerdev burgerdev commented Jan 9, 2025

Backport of #1127 to release/v1.2.

Original description:


Contrast configures the manifest with a default WorkloadSecretID per k8s object. The current default is simply the object name, which can be problematic if multiple objects (e.g. different kinds) share a name.

Combining the default workload secret ID from group, version, kind, namespace and name should ensure different k8s objects get different workload secrets.

@burgerdev burgerdev requested a review from katexochen January 9, 2025 12:53
@burgerdev burgerdev added the bug fix Fixing a user facing bug label Jan 9, 2025
@katexochen katexochen changed the title Backport 1127 to release/v1.2 [release/v1.2] cli: make default WorkloadSecretIDs unique per k8s object Jan 9, 2025
@burgerdev
Copy link
Contributor Author

I was not paying enough attention while cherry-picking: backporting the test requires #1104. I'll just remove the test then.

@burgerdev burgerdev force-pushed the backport-1127-to-release/v1.2 branch from c0889b3 to f737d0f Compare January 9, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug fix Fixing a user facing bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant