Skip to content

Add e2e tests for cdp and deployment-service secret read permissions #9735

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

Draft
wants to merge 3 commits into
base: dev
Choose a base branch
from

Conversation

katyanna
Copy link
Member

This PR adds e2e tests to verify that CDP and deployment-service can read secrets from any namespace (including kube-system) and that this permission is later revoked by the Admission Controller.

  • RBAC: Allows CDP and deployment-service to read secrets across namespaces
  • Admission Controller: Rewrites these permissions to deny further access to read secrets

This test coverage helps validate the secret access workflow end-to-end on the redesign of RBAC for EKS.

katyanna added 2 commits July 25, 2025 15:38
Signed-off-by: Katyanna Moura <[email protected]>
Though the company language is BrE, kubernetes tools use AmE.
This commit sets file name to the same pattern used in the code.

Signed-off-by: Katyanna Moura <[email protected]>
@katyanna katyanna added the minor Minor changes, e.g. low risk config updates, changes that do not introduce a new API call. label Jul 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
minor Minor changes, e.g. low risk config updates, changes that do not introduce a new API call.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant