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

Set the operator up with enforced secrets #1128

Merged
merged 1 commit into from
May 16, 2024

Conversation

skitt
Copy link
Member

@skitt skitt commented May 15, 2024

To prevent arbitrary secret access using compromised SAs, the SAs created by Submariner are now configured to enforce mountable secrets. This requires that accessible secrets be listed explicitly in the SA. To make this simple, use a static name for the broker secret. To allow secrets to be configured, leave them alone when creating or updating the SAs.

Depends on submariner-io/submariner-operator#3064
Depends on submariner-io/submariner-operator#3067

@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr1128/skitt/enforce-mountable-secrets
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@skitt skitt force-pushed the enforce-mountable-secrets branch from 3d0bcac to 728d7bc Compare May 16, 2024 07:52
@skitt skitt added the backport This change requires a backport to eligible release branches label May 16, 2024
To prevent arbitrary secret access using compromised SAs, the SAs
created by Submariner are now configured to enforce mountable secrets.
This requires that accessible secrets be listed explicitly in the SA.
To make this simple, use a static name for the broker secret. To allow
secrets to be configured, leave them alone when creating or updating
the SAs.

Signed-off-by: Stephen Kitt <skitt@redhat.com>
@skitt skitt force-pushed the enforce-mountable-secrets branch from 728d7bc to e84b007 Compare May 16, 2024 15:35
@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label May 16, 2024
@tpantelis tpantelis enabled auto-merge (rebase) May 16, 2024 17:36
@tpantelis tpantelis merged commit 374d1a2 into submariner-io:devel May 16, 2024
33 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr1128/skitt/enforce-mountable-secrets]

@dfarrell07
Copy link
Member

We were hoping to see this work in 0.18, including d/s, before backporting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport This change requires a backport to eligible release branches backport-handled ready-to-test When a PR is ready for full E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants