Remove unnecessary default due to added if-statement
@@ -200,7 +200,7 @@ spec:
- --ssh-keygen-format={{ .Values.ssh.keygen.format }}
- --k8s-secret-name={{ .Values.git.secretName | default (printf "%s-git-deploy" (include "flux.fullname" .)) }}
{{- if .Values.git.secretDataKey }}
- - --k8s-secret-data-key={{ .Values.git.secretDataKey | default (printf "identity" ) }}
+ - --k8s-secret-data-key={{ .Values.git.secretDataKey }}
{{- end }}
- --memcached-hostname={{ .Values.memcached.hostnameOverride | default (printf "%s-memcached" (include "flux.fullname" .)) }}
- --sync-state={{ .Values.sync.state }}
