Skip to content

Commit 55e4227

Browse files
Merge branch 'main' into feat/switch-to-dandydeveloper-redis-ha
2 parents 1e9c2dd + 1454687 commit 55e4227

File tree

4 files changed

+10
-0
lines changed

4 files changed

+10
-0
lines changed

helm/oauth2-proxy/Chart.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,5 @@ annotations:
3636
links:
3737
- name: Github PR
3838
url: https://github.com/oauth2-proxy/manifests/pull/335
39+
- name: Redis HA chart repository
40+
url: https://github.com/DandyDeveloper/charts/tree/master/charts/redis-ha

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
181181
| `podDisruptionBudget.enabled` | Enabled creation of PodDisruptionBudget (only if replicaCount > 1) | true |
182182
| `podDisruptionBudget.maxUnavailable` | maxUnavailable parameter for PodDisruptionBudget, one of maxUnavailable and minAvailable must be null | null |
183183
| `podDisruptionBudget.minAvailable` | minAvailable parameter for PodDisruptionBudget, one of maxUnavailable and minAvailable must be null | 1 |
184+
| `podDisruptionBudget.unhealthyPodEvictionPolicy` | Policy for when unhealthy pods should be considered for eviction. Valid values are "IfHealthyBudget" and "AlwaysAllow". See [Kubernetes docs](https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy) | `""` |
184185
| `podSecurityContext` | Kubernetes security context to apply to pod | `{}` |
185186
| `priorityClassName` | priorityClassName | `nil` |
186187
| `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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,7 @@ spec:
1717
{{- with .Values.podDisruptionBudget.minAvailable }}
1818
minAvailable: {{ . }}
1919
{{- end }}
20+
{{- with .Values.podDisruptionBudget.unhealthyPodEvictionPolicy }}
21+
unhealthyPodEvictionPolicy: {{ . }}
22+
{{- end }}
2023
{{- end }}

helm/oauth2-proxy/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,10 @@ podDisruptionBudget:
318318
enabled: true
319319
maxUnavailable: null
320320
minAvailable: 1
321+
# Policy for when unhealthy pods should be considered for eviction.
322+
# Valid values are "IfHealthyBudget" and "AlwaysAllow".
323+
# Ref: https://kubernetes.io/docs/tasks/run-application/configure-pdb/#unhealthy-pod-eviction-policy
324+
unhealthyPodEvictionPolicy: ""
321325

322326
## Horizontal Pod Autoscaling
323327
## ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/

0 commit comments

Comments
 (0)