File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
charts/ext-postgres-operator/templates Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- {{- if and (.Capabilities.APIVersions.Has "external-secrets.io/v1beta1") (.Values.ExternalSecret ) }}
1+ {{- if and (.Capabilities.APIVersions.Has "external-secrets.io/v1beta1") (.Values.externalSecret ) }}
22apiVersion : external-secrets.io/v1beta1
33kind : ExternalSecret
44metadata :
55 name : {{ include "chart.fullname" . }}-external-secret
6- namespace : {{ if .Values.ExternalSecret .namespace }}{{ .Values.ExternalSecret .namespace }}{{ else }}{{ .Release.Namespace }}{{ end }}
6+ namespace : {{ if .Values.externalSecret .namespace }}{{ .Values.externalSecret .namespace }}{{ else }}{{ .Release.Namespace }}{{ end }}
77 labels :
88 {{- include "chart.labels" . | nindent 4 }}
99spec :
10- refreshInterval : {{ .Values.ExternalSecret .refreshInterval | default "2s"}}
10+ refreshInterval : {{ .Values.externalSecret .refreshInterval | default "2s"}}
1111 secretStoreRef :
12- kind : {{ .Values.ExternalSecret .secretStoreKind | default "SecretStore" }}
13- name : {{ .Values.ExternalSecret .secretStore | quote }}
12+ kind : {{ .Values.externalSecret .secretStoreKind | default "SecretStore" }}
13+ name : {{ .Values.externalSecret .secretStore | quote }}
1414 target :
1515 creationPolicy : Owner
1616 deletionPolicy : Retain
@@ -26,10 +26,10 @@ spec:
2626 data :
2727 - secretKey : username
2828 remoteRef :
29- key : {{ .Values.ExternalSecret .remoteKey | quote }}
29+ key : {{ .Values.externalSecret .remoteKey | quote }}
3030 property : username
3131 - secretKey : password
3232 remoteRef :
33- key : {{ .Values.ExternalSecret .remoteKey | quote }}
33+ key : {{ .Values.externalSecret .remoteKey | quote }}
3434 property : password
3535{{- end }}
Original file line number Diff line number Diff line change 1- {{- if and (not .Values.existingSecret) (not .Values.ExternalSecret ) }}
1+ {{- if and (not .Values.existingSecret) (not .Values.externalSecret ) }}
22---
33apiVersion : v1
44kind : Secret
You can’t perform that action at this time.
0 commit comments