forked from github-mirrorer/taskchampion-sync-server
Simplifying secret management
This commit is contained in:
committed by
Dustin J. Mitchell
parent
c58bb4800d
commit
84c06475c6
@ -1,11 +1,11 @@
|
||||
{{- if and .Values.postgres.enabled (eq .Values.postgres.existingSecret "") -}}
|
||||
{{- if .Values.postgres.enabled }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "taskchampion-sync-server.fullname" . }}
|
||||
name: {{ include "taskchampion-sync-server.postgres-secret-name" . }}
|
||||
labels:
|
||||
{{- include "taskchampion-sync-server.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
connection: {{ include "taskchampion-sync-server.postgres-connection" . | b64enc }}
|
||||
{{- end -}}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user