Skip to content

Commit

Permalink
Update secret.yml (#131)
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelmaliy authored Feb 8, 2022
1 parent c59c672 commit 758471e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions sapbtp-operator-charts/templates/secret.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ type: Opaque
data:
{{- if .Values.manager.secret.b64encoded }}
clientid: {{ .Values.manager.secret.clientid | quote }}
{{- if .Values.manager.secret.clientsecret }}
clientsecret: {{ .Values.manager.secret.clientsecret | quote }}
{{- end }}
url: {{ .Values.manager.secret.url | quote }}
tokenurl: {{ .Values.manager.secret.tokenurl | quote }}
{{- else}}
clientid: {{ .Values.manager.secret.clientid | b64enc | quote }}
{{- if .Values.manager.secret.clientsecret }}
clientsecret: {{ .Values.manager.secret.clientsecret | b64enc | quote }}
{{- end }}
url: {{ .Values.manager.secret.url | b64enc | quote }}
tokenurl: {{ .Values.manager.secret.tokenurl | b64enc | quote }}
{{- end }}
Expand Down

0 comments on commit 758471e

Please sign in to comment.