[bitnami/redmine] feat: Add seccompProfile to containerSecurityContext (#21912)

* [bitnami/redmine] feat:  Add seccompProfile to containerSecurityContext

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

* test:  Update tests

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>

---------

Signed-off-by: Javier Salmeron Garcia <jsalmeron@vmware.com>
This commit is contained in:
Javier J. Salmerón-García
2024-01-10 11:08:44 +01:00
committed by GitHub
parent c0e35c3088
commit 11bf7a1283
4 changed files with 66 additions and 62 deletions

View File

@@ -192,16 +192,19 @@ resources:
## @param podSecurityContext.fsGroup Set Redmine pod's Security Context fsGroup
##
podSecurityContext:
enabled: false
fsGroup: 1001
enabled: true
fsGroup: 0
## Configure Container Security Context (only main container)
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/security-context/#set-the-security-context-for-a-container
## @param containerSecurityContext.enabled Enabled Redmine containers' Security Context
## @param containerSecurityContext.runAsUser Set Redmine container's Security Context runAsUser
## @param containerSecurityContext.seccompProfile.type Set container's Security Context seccomp profile
##
containerSecurityContext:
enabled: false
runAsUser: 1001
enabled: true
runAsUser: 0
seccompProfile:
type: "RuntimeDefault"
## Configure extra options for Redmine containers' liveness, readiness and startup probes
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-startup-probes/#configure-probes
## @param livenessProbe.enabled Enable livenessProbe on Redmine containers