Skip to content

Commit ab50129

Browse files
Merge branch 'main' into enh/dualstack-service
2 parents 53bd93b + 835fb65 commit ab50129

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.12.19
2+
version: 7.13.0
33
apiVersion: v2
44
appVersion: 7.9.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -32,7 +32,7 @@ kubeVersion: ">=1.16.0-0"
3232
annotations:
3333
artifacthub.io/changes: |
3434
- kind: changed
35-
description: Updated the Redis chart to the latest version
35+
description: Allow maxUnavailable in PodDisruptionBudget
3636
links:
3737
- name: Github PR
38-
url: https://github.com/oauth2-proxy/manifests/pull/318
38+
url: https://github.com/oauth2-proxy/manifests/pull/317

helm/oauth2-proxy/README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,8 @@ The following table lists the configurable parameters of the oauth2-proxy chart
178178
| `podAnnotations` | annotations to add to each pod | `{}` |
179179
| `podLabels` | additional labels to add to each pod | `{}` |
180180
| `podDisruptionBudget.enabled` | Enabled creation of PodDisruptionBudget (only if replicaCount > 1) | true |
181-
| `podDisruptionBudget.minAvailable` | minAvailable parameter for PodDisruptionBudget | 1 |
181+
| `podDisruptionBudget.maxUnavailable` | maxUnavailable parameter for PodDisruptionBudget, one of maxUnavailable and minAvailable must be null | null |
182+
| `podDisruptionBudget.minAvailable` | minAvailable parameter for PodDisruptionBudget, one of maxUnavailable and minAvailable must be null | 1 |
182183
| `podSecurityContext` | Kubernetes security context to apply to pod | `{}` |
183184
| `priorityClassName` | priorityClassName | `nil` |
184185
| `readinessProbe.enabled` | enable Kubernetes readinessProbe. Disable to use oauth2-proxy with Istio mTLS. See [Istio FAQ](https://istio.io/help/faq/security/#k8s-health-checks) | `true` |

helm/oauth2-proxy/templates/poddisruptionbudget.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,6 @@ spec:
1111
selector:
1212
matchLabels:
1313
{{- include "oauth2-proxy.selectorLabels" . | indent 6 }}
14+
maxUnavailable: {{ .Values.podDisruptionBudget.maxUnavailable }}
1415
minAvailable: {{ .Values.podDisruptionBudget.minAvailable }}
1516
{{- end }}

helm/oauth2-proxy/values.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -303,8 +303,10 @@ enableServiceLinks: true
303303

304304
## PodDisruptionBudget settings
305305
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/
306+
## One of maxUnavailable and minAvailable must be set to null.
306307
podDisruptionBudget:
307308
enabled: true
309+
maxUnavailable: null
308310
minAvailable: 1
309311

310312
## Horizontal Pod Autoscaling

0 commit comments

Comments
 (0)