Skip to content

Commit cb54873

Browse files
authored
fix(PDB): Don't render null keys inside PDB (#322)
Signed-off-by: Marco Maurer <[email protected]>
1 parent d86050d commit cb54873

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 4 additions & 4 deletions
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/
@@ -31,8 +31,8 @@ maintainers:
3131
kubeVersion: ">=1.16.0-0"
3232
annotations:
3333
artifacthub.io/changes: |
34-
- kind: changed
35-
description: Updated OAuth2-Proxy image to v7.10.0
34+
- kind: fixed
35+
description: Don't render null keys inside PDB
3636
links:
3737
- name: Github PR
38-
url: https://github.com/oauth2-proxy/manifests/pull/321
38+
url: https://github.com/oauth2-proxy/manifests/pull/322

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)