Add pdb resource

This commit is contained in:
Marcus Rodan
2020-12-10 09:51:04 +01:00
parent 27b2616330
commit 9cb44815c4
+11
View File
@@ -0,0 +1,11 @@
{{- if .Values.podDisruptionBudget }}
apiVersion: policy/v1beta1
kind: PodDisruptionBudget
metadata:
name: {{ template "flagger.name" . }}
spec:
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
selector:
matchLabels:
app.kubernetes.io/name: {{ template "flagger.name" . }}
{{- end }}