35 lines
1.1 KiB
Go Template
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 }}
|