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 helm parameter to control security context #1057

Merged
merged 5 commits into from
Feb 12, 2025
Merged

Conversation

roypaulin
Copy link
Collaborator

@roypaulin roypaulin commented Feb 6, 2025

This adds a helm parameter to set the manager pod and container security context.

Closes #1055

@roypaulin
Copy link
Collaborator Author

#1055

type: RuntimeDefault
asserts:
- equal:
path: spec.template.spec.securityContext.runAsUser
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should assert other settings(e,g seccompProfile) here as well.

- ALL
asserts:
- equal:
path: spec.template.spec.containers[0].securityContext.readOnlyRootFilesystem
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here to assert all values in the spec.template.spec.containers[0]

@roypaulin roypaulin merged commit fcfc6ea into main Feb 12, 2025
41 checks passed
@roypaulin roypaulin deleted the roypaulin/security branch February 12, 2025 15:37
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.

VerticaDB Operator + VerticaDB cluster not complient with pod-security.kubernetes.io/enforce=restricted
2 participants