Skip to content

feat: add toggle for securityContext and PodSecurityContext#796

Merged
oliverbaehler merged 1 commit into
projectcapsule:mainfrom
sandert-k8s:add-toggle-for-securitycontexts
Jul 18, 2025
Merged

feat: add toggle for securityContext and PodSecurityContext#796
oliverbaehler merged 1 commit into
projectcapsule:mainfrom
sandert-k8s:add-toggle-for-securitycontexts

Conversation

@sandert-k8s

@sandert-k8s sandert-k8s commented Jul 16, 2025

Copy link
Copy Markdown
Contributor

Added toggles for enabling/disabling securityContext and PodSecurityContext. If you have other security measurements in place (for example Openshift SCC's), the default SecurityContexts are not needed. In the past, we provided an empty string for the securityContext, which always worked. But suddenly, ArgoCD does not accept this anymore. So, adding a toggle for this.

(This is the same change as added in the sops-operator and capsule)

@sandert-k8s sandert-k8s force-pushed the add-toggle-for-securitycontexts branch from bcef61e to 5f962d7 Compare July 16, 2025 11:37
@sandert-k8s sandert-k8s changed the title feat: Add toggle for securityContext and PodSecurityContext feat: add toggle for securityContext and PodSecurityContext Jul 16, 2025
@sandert-k8s sandert-k8s marked this pull request as draft July 16, 2025 11:40
@sandert-k8s sandert-k8s force-pushed the add-toggle-for-securitycontexts branch from 5f962d7 to d59eaf9 Compare July 16, 2025 11:42
Signed-off-by: sandert-k8s <sandert98@gmail.com>
@sandert-k8s sandert-k8s force-pushed the add-toggle-for-securitycontexts branch from d59eaf9 to d65287f Compare July 16, 2025 11:50
@sandert-k8s sandert-k8s marked this pull request as ready for review July 16, 2025 11:50
@oliverbaehler oliverbaehler merged commit be0c0ea into projectcapsule:main Jul 18, 2025
13 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.

2 participants