Skip to content

Commit 36f4441

Browse files
committed
zero value
1 parent 9b4d513 commit 36f4441

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

wiz-outpost-lite/templates/deployment.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ spec:
1414
{{- include "wiz-outpost-lite.selectorLabels" . | nindent 6 }}
1515
template:
1616
metadata:
17-
{{- if or (not (empty .Values.podAnnotations)) (ne .Values.apparmorProfile "") }}
17+
{{- if or .Values.podAnnotations .Values.apparmorProfile }}
1818
annotations:
1919
{{- with .Values.podAnnotations }}
2020
{{- toYaml . | nindent 8 }}
2121
{{- end }}
22-
{{- if ne .Values.apparmorProfile "" }}
22+
{{- if .Values.apparmorProfile }}
2323
container.apparmor.security.beta.kubernetes.io/{{ printf "%s-%s" .Chart.Name .runner }}: {{ .Values.apparmorProfile }}
2424
{{- end }}
2525
{{- end }}

0 commit comments

Comments
 (0)