This patch makes all the database settings configurable. fixes: https://github.com/spiffe/helm-charts/issues/37 --------- Signed-off-by: Kevin Fox <[email protected]> Signed-off-by: kfox1111 <[email protected]> Co-authored-by: Faisal Memon <[email protected]> Co-authored-by: Marco Franssen <[email protected]>
10 lines
274 B
YAML
10 lines
274 B
YAML
{{- if ne .Values.dataStore.sql.databaseType "sqlite3" }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "spire-server.fullname" . }}-dbpw
|
|
namespace: {{ include "spire-server.namespace" . }}
|
|
data:
|
|
DBPW: {{ .Values.dataStore.sql.password | b64enc }}
|
|
{{- end }}
|