a03e83f9 by Adam Heath

Fix checkDsConnection.enabled setting.

1 parent 40395c06
......@@ -31,7 +31,7 @@ spec:
securityContext:
{{- toYaml .Values.podSecurityContext | nindent 8 }}
initContainers:
{{- if and (eq .Values.configMap.entity_ds_db_conf "postgres") (.Values.checkDsConnection) }}
{{- if and (eq .Values.configMap.entity_ds_db_conf "postgres") (.Values.checkDsConnection.enabled) }}
- name: postgresql-check-connection
image: "{{ .Values.postgresql.image.registry }}/{{ .Values.postgresql.image.repository }}:{{ .Values.postgresql.image.tag }}"
imagePullPolicy: {{ .Values.postgresql.image.pullPolicy }}
......