summaryrefslogtreecommitdiffstats
path: root/kubernetes/common/music/charts/zookeeper/templates/poddisruptionbudget.yaml
blob: a4bc322a3151e8a6b787f31ba9ea3d7139cb853e (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: {{ include "common.release" . }}
    heritage: {{ .Release.Service }}
    component: server
spec:
  selector:
    matchLabels:
      app: {{ template "common.name" . }}
      release: {{ include "common.release" . }}
      component: server
{{ toYaml .Values.podDisruptionBudget | indent 2 }}