[postgresql-ha] remove ldap requirement for probes (#6208)

This commit is contained in:
Gregory Moyer
2021-04-26 12:05:24 -04:00
committed by GitHub
parent ab63a560f8
commit ffc6457b41
2 changed files with 4 additions and 4 deletions

View File

@@ -27,4 +27,4 @@ name: postgresql-ha
sources:
- https://github.com/bitnami/bitnami-docker-postgresql
- https://www.postgresql.org/
version: 6.9.1
version: 7.0.0

View File

@@ -272,7 +272,7 @@ spec:
- name: postgresql
containerPort: 5432
protocol: TCP
{{- if and .Values.pgpool.livenessProbe.enabled (not .Values.ldap.enabled) }}
{{- if .Values.pgpool.livenessProbe.enabled }}
livenessProbe:
exec:
command:
@@ -285,7 +285,7 @@ spec:
{{- else if .Values.pgpool.customLivenessProbe }}
livenessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.pgpool.customLivenessProbe "context" $) | nindent 12 }}
{{- end }}
{{- if and .Values.pgpool.readinessProbe.enabled (not .Values.ldap.enabled) }}
{{- if .Values.pgpool.readinessProbe.enabled }}
readinessProbe:
exec:
command:
@@ -300,7 +300,7 @@ spec:
{{- else if .Values.pgpool.customReadinessProbe }}
readinessProbe: {{- include "common.tplvalues.render" (dict "value" .Values.pgpool.customReadinessProbe "context" $) | nindent 12 }}
{{- end }}
{{- if and .Values.pgpool.startupProbe.enabled (not .Values.ldap.enabled) }}
{{- if .Values.pgpool.startupProbe.enabled }}
startupProbe:
exec:
command: