Skip to content

Commit

Permalink
flip precedence
Browse files Browse the repository at this point in the history
  • Loading branch information
Zlaticanin committed Aug 9, 2024
1 parent 2795dd3 commit 3c357c6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions templates/csi-daemonset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,12 @@ spec:
imagePullPolicy: {{ .Values.csi.image.pullPolicy }}
args:
- --endpoint=/provider/vault.sock
{{- if .Values.csi.debug }}
{{- if .Values.csi.logLevel }}
- --log-level={{ .Values.csi.logLevel }}
{{- else if .Values.csi.debug }}
- --log-level=debug
{{- else }}
- --log-level={{ .Values.csi.logLevel }}
- --log-level=info
{{- end }}
{{- if .Values.csi.hmacSecretName }}
- --hmac-secret-name={{ .Values.csi.hmacSecretName }}
Expand Down

0 comments on commit 3c357c6

Please sign in to comment.