{{- if .Values.podDisruptionBudget -}} apiVersion: policy/v1 kind: PodDisruptionBudget metadata: name: {{ include "opengist.fullname" . }} namespace: {{ .Values.namespace | default .Release.Namespace }} labels: {{- include "opengist.labels" . | nindent 4 }} spec: selector: matchLabels: {{- include "opengist.selectorLabels" . | nindent 6 }} {{- toYaml .Values.podDisruptionBudget | nindent 2 }} {{- end -}}