homelab/k8s/helmfile.d/values/init-dbs/values.yaml.gotmpl
2025-02-04 15:48:36 -08:00

35 lines
1.1 KiB
Go Template

# This is for the secrets for pulling an image from a private repository more information can be found here: https://kubernetes.io/docs/tasks/configure-pod-container/pull-image-private-registry/
imagePullSecrets: []
# This is to override the chart name.
nameOverride: ""
fullnameOverride: ""
postgres:
image:
ref: postgres
# This sets the pull policy for images.
pullPolicy: IfNotPresent
host: postgres-postgresql.{{ .Values.globals.postgres.namespace }}.svc.cluster.local
username: postgres
password: {{ .Values.globals.postgres.postgresPassword }}
databases:
{{- range .Values.globals.postgres.databases }}
- database: {{ .database }}
username: {{ .username }}
password: {{ .password }}
{{- end }}
mysql:
image:
ref: mysql
# This sets the pull policy for images.
pullPolicy: IfNotPresent
host: mysql.{{ .Values.globals.mysql.namespace }}.svc.cluster.local
username: root
password: {{ .Values.globals.mysql.rootPassword }}
databases:
{{- range .Values.globals.mysql.databases }}
- database: {{ .database }}
username: {{ .username }}
password: {{ .password }}
{{- end }}