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

Add pod security policy #343

Merged
merged 4 commits into from
Sep 20, 2023
Merged

Conversation

bkochendorfer
Copy link
Contributor

This adds pod security policy and seccompProfile. I was unable to get the Helm chart to install locally to verify that these changes work when tls is enabled and the self signer is enabled, this seems to be the default configuration based on values. Whenever I attempt to do this I always get errors that the serviceaccount, roles, and rolebinding already exist due to how the annotations are being set manually. I'm not familiar enough with this chart to know if we should change those to include the release-name so that a subsequent run does not try to recreate them.

If I could get this to work locally I believe I will also need to resources in the jobs job-certSelfSigner and job-cleaner as we require setting resource limits/requests everywhere.

@udnay
Copy link
Collaborator

udnay commented Aug 30, 2023

@himanshu-cockroach can you take a look at this?

@prafull01
Copy link
Collaborator

@bkochendorfer Please rebase your branch with latest change

@prafull01 prafull01 merged commit 7672b9f into cockroachdb:master Sep 20, 2023
9 checks passed
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.

3 participants