onedev-server/server-product/helm/templates/secrets.yaml

13 lines
370 B
YAML

apiVersion: v1
kind: Secret
metadata:
name: {{ include "ods.fullname" . }}-secrets
namespace: {{ .Release.Namespace }}
labels: {{ include "ods.labels" . | nindent 4 }}
type: Opaque
data:
{{- if .Values.onedev.initSettings.password }}
password: {{ .Values.onedev.initSettings.password | b64enc }}
{{- end }}
dbPassword: {{ .Values.database.password | b64enc }}