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

Helm: add securityContext to initContainers #602

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

Gerrit-K
Copy link
Contributor

@Gerrit-K Gerrit-K commented Jan 2, 2025

Some/most production environments enforce pod and container security contexts via admission controllers. If they are not compliant, the manifests won't be accepted. The current helm chart only sets the security context of the containers, but not the initContainers. This MR uses the same config for the initContainers as for the containers.

@Gerrit-K Gerrit-K force-pushed the helm-securitycontext-initcontainers branch from d4fdf3b to 21d4929 Compare January 3, 2025 14:21
@Gerrit-K Gerrit-K force-pushed the helm-securitycontext-initcontainers branch from 21d4929 to 1978fe4 Compare January 3, 2025 14:22
@adutra adutra merged commit f898b2c into apache:main Jan 7, 2025
5 checks passed
@Gerrit-K Gerrit-K deleted the helm-securitycontext-initcontainers branch January 8, 2025 07:45
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