summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/charts/zookeeper/templates/poddisruptionbudget.yaml
blob: 7a9f3fe10508c534c9a4b261b98586e9a040fbb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
  name: {{ template "common.fullname" . }}
  labels:
    app: {{ template "common.name" . }}
    chart: {{ .Chart.Name }}
    release: {{ .Release.Name }}
    heritage: {{ .Release.Service }}
    component: server
spec:
  selector:
    matchLabels:
      app: {{ template "common.name" . }}
      release: {{ .Release.Name }}
      component: server
{{ toYaml .Values.podDisruptionBudget | indent 2 }}