Update Kong ingress controller to version 1.4. It fixes the occasional 404 error.
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / templates / pdb.yaml
1 {{- if .Values.podDisruptionBudget.enabled }}
2 apiVersion: policy/v1beta1
3 kind: PodDisruptionBudget
4 metadata:
5   name: {{ template "kong.fullname" . }}
6   labels:
7     {{- include "kong.metaLabels" . | nindent 4 }}
8 spec:
9   {{- if .Values.podDisruptionBudget.minAvailable }}
10   minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
11   {{- end  }}
12   {{- if .Values.podDisruptionBudget.maxUnavailable }}
13   maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
14   {{- end  }}
15   selector:
16     matchLabels:
17       {{- include "kong.metaLabels" . | nindent 6 }}
18 {{- end }}