Files
2026-08-26 03:39:42 +05:30

18 lines
544 B
YAML

{{- if $.Values.web.enabled }}
{{- if $.Values.web.podDisruptionBudget }}
apiVersion: policy/v1
kind: PodDisruptionBudget
metadata:
name: {{ include "temporal.componentname" (list $ "web") }}-pdb
labels:
{{- include "temporal.resourceLabels" (list $ "web" "") | nindent 4 }}
spec:
{{ toYaml $.Values.web.podDisruptionBudget }}
selector:
matchLabels:
app.kubernetes.io/name: {{ include "temporal.name" $ }}
app.kubernetes.io/instance: {{ $.Release.Name }}
app.kubernetes.io/component: web
{{- end }}
{{- end }}