Skip to content

Commit 6eabc6a

Browse files
committed
changed key to be more clear
1 parent 9a33641 commit 6eabc6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

wiz-outpost-lite/templates/_helpers.tpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,9 @@ container-registry -> outpost-lite-runner-container-registry
104104
105105
{{/* Add apparmor pod annotation if given */}}
106106
{{- if ne $values.podAnnotationsApparmor "" }}
107-
{{- $key := printf "container.apparmor.security.beta.kubernetes.io/%s-%s" $.Chart.Name $runner }}
108-
{{- $appArmor := dict $key $values.podAnnotationsApparmor }}
109-
{{- $values = merge $values (dict "podAnnotations" $appArmor) }}
107+
{{- $appArmorKey := printf "container.apparmor.security.beta.kubernetes.io/%s-%s" $.Chart.Name $runner }}
108+
{{- $appArmorDict := dict $appArmorKey $values.podAnnotationsApparmor }}
109+
{{- $values = merge $values (dict "podAnnotations" $appArmorDict) }}
110110
{{- end }}
111111
112112
{{- if hasKey $values "containerSecurityContextOverride"}}

0 commit comments

Comments
 (0)