github.com/replicatedhq/ship@v0.55.0/integration/base/shipapp-helm-values/expected/installer/consul/templates/pod-dist-budget.yaml (about) 1 {{- if .Values.maxUnavailable }} 2 apiVersion: policy/v1beta1 3 kind: PodDisruptionBudget 4 metadata: 5 name: "{{ template "consul.fullname" . }}-pdb" 6 labels: 7 heritage: {{ .Release.Service | quote }} 8 release: {{ .Release.Name | quote }} 9 chart: {{ template "consul.chart" . }} 10 component: "{{ .Release.Name }}-{{ .Values.Component }}" 11 spec: 12 maxUnavailable: {{ .Values.maxUnavailable }} 13 selector: 14 matchLabels: 15 component: "{{ .Release.Name }}-{{ .Values.Component }}" 16 {{- end }}