Extend K8S and RIC installation instructions
[it/dep.git] / ric-infra / 30-Kong / helm / kong / charts / 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 -}}