File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
wiz-outpost-lite/templates Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -102,13 +102,6 @@ container-registry -> outpost-lite-runner-container-registry
102102{{- $values = merge $values $.Values.openshiftOverrides }}
103103{{- end }}
104104
105- {{/* Add apparmor pod annotation if given */}}
106- {{- if ne $values.apparmorProfile "" }}
107- {{- $appArmorKey := printf "container.apparmor.security.beta.kubernetes.io/%s-%s" $.Chart.Name $runner }}
108- {{- $appArmorDict := dict $appArmorKey $values.apparmorProfile }}
109- {{- $values = merge $values (dict "podAnnotationsApparmor" $appArmorDict) }}
110- {{- end }}
111-
112105{{- if hasKey $values "containerSecurityContextOverride"}}
113106{{- $values = set $values "containerSecurityContext" $values.containerSecurityContextOverride }}
114107{{- end }}
Original file line number Diff line number Diff line change 1818 {{- with .Values.podAnnotations }}
1919 {{- toYaml . | nindent 8 }}
2020 {{- end }}
21- {{- with .Values.podAnnotationsApparmor }}
22- {{- toYaml . | nindent 8 }}
21+ {{- if ne .Values.apparmorProfile "" }}
22+ container.apparmor.security.beta.kubernetes.io/{{ printf "%s-%s" .Chart.Name .runner }} : {{ .Values.apparmorProfile }}
2323 {{- end }}
2424 labels :
2525 {{- include "wiz-outpost-lite.selectorLabels" . | nindent 8 }}
You can’t perform that action at this time.
0 commit comments