[ISSUE] Capabilities are not rendered when containerSecurityContext.privileged is set to true #2331
Labels
kind/issue
Unidentified issue, it could be a bug, misconfig, or anything in between
platform/aws
Issues related to AWS
platform/gcp
Issues related to GCP
Describe the issue:
Capabilities are not rendered when containerSecurityContext.privileged is set to true. This affects all of our components.
This line seems to be the culprit.
camunda-platform-helm/charts/camunda-platform-alpha/templates/zeebe/statefulset.yaml
Line 51 in 025e1d8
Which references a common _compatibility.tpl file I found this reference which tells it to omit capabilities if privileged is set
Actual behavior:
When setting
containerSecurityContext.privileged=true
andcontainerSecurityContext.capabilities
the capabilities do not render. However ifcontainerSecurityContext.privileged=false
thencontainerSecurityContext.capabilities
renders.Expected behavior:
capabilities should render with any
containerSecurityContext.privileged
setHow to reproduce:
Logs:
Environment:
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.
The text was updated successfully, but these errors were encountered: