13 lines
305 B
YAML
13 lines
305 B
YAML
{{- if hasKey .Values "users" }}
|
|
apiVersion: v1
|
|
kind: Secret
|
|
metadata:
|
|
name: {{ include "psmdb-database.fullname" . }}-secrets
|
|
namespace: {{ .Release.Namespace }}
|
|
labels:
|
|
{{ include "psmdb-database.labels" . | indent 4 }}
|
|
type: Opaque
|
|
stringData:
|
|
{{ .Values.users | toYaml | indent 2 }}
|
|
{{- end -}}
|