mirror of
https://github.com/rtomik/helm-charts.git
synced 2026-07-16 16:25:16 +00:00
added Checkmk init release
This commit is contained in:
11
charts/checkmk/templates/secret.yaml
Normal file
11
charts/checkmk/templates/secret.yaml
Normal file
@ -0,0 +1,11 @@
|
||||
{{- if not .Values.config.adminPassword.existingSecret }}
|
||||
apiVersion: v1
|
||||
kind: Secret
|
||||
metadata:
|
||||
name: {{ include "checkmk.fullname" . }}-secrets
|
||||
labels:
|
||||
{{- include "checkmk.labels" . | nindent 4 }}
|
||||
type: Opaque
|
||||
data:
|
||||
{{ .Values.config.adminPassword.passwordKey }}: {{ .Values.config.adminPassword.value | default "changeme" | b64enc }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user