File tree Expand file tree Collapse file tree
charts/database/templates Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6868 secretKeyRef:
6969 name: database-creds
7070 key: password
71- {{- if eq .Values.global.storageLocation " on-cluster" }}
72- - name: " DRYCC_STORAGE_HEALTH"
73- valueFrom:
74- secretKeyRef:
75- name: storage-creds
76- key: health
77- {{- end }}
7871{{- end }}
7972
8073{{/* Generate database deployment limits */ }}
Original file line number Diff line number Diff line change 2525 podAntiAffinity : {{- include "common.affinities.pods" (dict "type" .Values.podAntiAffinityPreset.type "key" .Values.podAntiAffinityPreset.key "values" .Values.podAntiAffinityPreset.values ) | nindent 10 }}
2626 nodeAffinity : {{- include "common.affinities.nodes" (dict "type" .Values.nodeAffinityPreset.type "key" .Values.nodeAffinityPreset.key "values" .Values.nodeAffinityPreset.values ) | nindent 10 }}
2727 serviceAccountName : drycc-database
28- {{- if eq .Values.global.storageLocation "on-cluster" }}
29- initContainers :
30- - name : drycc-database-init
31- image : {{.Values.imageRegistry}}/{{.Values.imageOrg}}/python-dev:latest
32- imagePullPolicy : {{.Values.imagePullPolicy}}
33- args :
34- - netcat
35- - -v
36- - -g
37- - $(DRYCC_STORAGE_HEALTH)
38- {{- include "database.envs" . | indent 8 }}
39- {{- end }}
4028 containers :
4129 - name : drycc-database
4230 image : {{.Values.imageRegistry}}/{{.Values.imageOrg}}/postgres:{{.Values.imageTag}}
You can’t perform that action at this time.
0 commit comments