We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15cf127 + 50fbcb8 commit 66c79d4Copy full SHA for 66c79d4
deploy/k8s/chart/templates/pdb.yaml
@@ -6,7 +6,11 @@ metadata:
6
labels:
7
{{- include "cortex-tenant.labels" . | nindent 4 }}
8
spec:
9
+ {{- if .Values.podDisruptionBudget.maxUnavailable }}
10
+ maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
11
+ {{- else if .Values.podDisruptionBudget.minAvailable }}
12
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
13
+ {{- end }}
14
selector:
15
matchLabels:
16
{{- include "cortex-tenant.selectorLabels" . | nindent 6 }}
0 commit comments