Remove format to string using print

This commit is contained in:
lsalfaro 2024-09-06 16:20:36 +02:00
parent e517a1b8fa
commit 2e962d918c

View File

@ -97,11 +97,10 @@ Usage:
{{- if $.Values.oneuptimeSecret }}
value: {{ $.Values.oneuptimeSecret }}
{{- else }}
{{- if $.Values.externalSecrets.oneuptimeSecret.existingSecret.name }}
valueFrom:
secretKeyRef:
name: {{ printf "%s" $.Values.externalSecrets.oneuptimeSecret.existingSecret.name }}
name: {{ $.Values.externalSecrets.oneuptimeSecret.existingSecret.name }}
key: {{ $.Values.externalSecrets.oneuptimeSecret.existingSecret.passwordKey }}
{{- else }}
valueFrom:
@ -135,7 +134,7 @@ Usage:
{{- if $.Values.externalSecrets.encryptionSecret.existingSecret.name }}
valueFrom:
secretKeyRef:
name: {{ printf "%s" $.Values.externalSecrets.encryptionSecret.existingSecret.name }}
name: {{ $.Values.externalSecrets.encryptionSecret.existingSecret.name }}
key: {{ $.Values.externalSecrets.encryptionSecret.existingSecret.passwordKey }}
{{- else }}
valueFrom: