You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some relatively newer security-policy settings such as seccompProfile are not rendered, which causes problems when using the chart on clusters with active security-policies.
Suggestion is to render the complete settings from values.yaml, instead of rendering particular parameters:
{{- if .Values.podSecurityContext }}
securityContext:
{{- include "common.tplvalues.render" (dict "value" .Values.podSecurityContext "context" $) | nindent 8 }}
{{- end }}
Or, preferably with the possibility to accommodate an enabled parameter:
{{- $securityContext := include "common.tplvalues.render" (dict "value" .Values.podSecurityContext "context" $) | fromYaml }}
{{- if and $securityContext $securityContext.enabled }}
securityContext: {{- omit $securityContext "enabled" | toYaml | nindent 8 }}
{{- end }}
Here are the locations that these changes are applicable:
Some relatively newer security-policy settings such as
seccompProfile
are not rendered, which causes problems when using the chart on clusters with active security-policies.Suggestion is to render the complete settings from
values.yaml
, instead of rendering particular parameters:Or, preferably with the possibility to accommodate an
enabled
parameter:Here are the locations that these changes are applicable:
charts/stable/hazelcast/templates/mancenter-statefulset.yaml
Line 56 in 29b94b5
charts/stable/hazelcast/templates/mancenter-statefulset.yaml
Line 178 in 29b94b5
charts/stable/hazelcast/templates/statefulset.yaml
Line 60 in 29b94b5
charts/stable/hazelcast/templates/statefulset.yaml
Line 162 in 29b94b5
The text was updated successfully, but these errors were encountered: