Skip to content

Commit 217be9d

Browse files
committed
fix(PDB): Don't set null inside PDB
Signed-off-by: Marco Maurer <[email protected]>
1 parent d86050d commit 217be9d

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.14.1
2+
version: 7.14.2
33
apiVersion: v2
44
appVersion: 7.10.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/

helm/oauth2-proxy/templates/poddisruptionbudget.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ spec:
1111
selector:
1212
matchLabels:
1313
{{- include "oauth2-proxy.selectorLabels" . | indent 6 }}
14-
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
15-
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
14+
{{- with .Values.podDisruptionBudget.maxUnavailable }}
15+
maxUnavailable: {{ . }}
16+
{{- end }}
17+
{{- with .Values.podDisruptionBudget.minAvailable }}
18+
minAvailable: {{ . }}
19+
{{- end }}
1620
{{- end }}

0 commit comments

Comments
 (0)