Sync up to the latest it/dep commit.
[ric-plt/ric-dep.git] / helm / infrastructure / subcharts / kong / charts / cassandra / templates / pdb.yaml
1 {{- if .Values.podDisruptionBudget -}}
2 apiVersion: policy/v1beta1
3 kind: PodDisruptionBudget
4 metadata:
5   labels:
6     app: {{ template "cassandra.name" . }}
7     chart: {{ .Chart.Name }}-{{ .Chart.Version }}
8     heritage: {{ .Release.Service }}
9     release: {{ .Release.Name }}
10   name: {{ template "cassandra.fullname" . }}
11 spec:
12   selector:
13     matchLabels:
14       app: {{ template "cassandra.name" . }}
15       release: {{ .Release.Name }}
16 {{ toYaml .Values.podDisruptionBudget | indent 2 }}
17 {{- end -}}