File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 1
1
name : oauth2-proxy
2
- version : 8.1.0
2
+ version : 8.1.1
3
3
apiVersion : v2
4
4
appVersion : 7.12.0
5
5
home : https://oauth2-proxy.github.io/oauth2-proxy/
@@ -31,8 +31,8 @@ maintainers:
31
31
kubeVersion : " >=1.16.0-0"
32
32
annotations :
33
33
artifacthub.io/changes : |
34
- - kind: changed
35
- description: Updated OAuth2-Proxy image to v7.12.0
34
+ - kind: fixed
35
+ description: Fixed the Pod Disruption Budget when Horizontal Pod Autoscaling is enabled
36
36
links:
37
37
- name: Github PR
38
- url: https://github.com/oauth2-proxy/manifests/pull/340
38
+ url: https://github.com/oauth2-proxy/manifests/pull/341
Original file line number Diff line number Diff line change 1
- {{- if and .Values.podDisruptionBudget.enabled (gt (.Values.replicaCount | int) 1) }}
1
+ {{- $replicaCount := .Values.replicaCount | default 1 | int }}
2
+ {{- if .Values.autoscaling.enabled }}
3
+ {{- $replicaCount = .Values.autoscaling.minReplicas | default 1 | int }}
4
+ {{- end }}
5
+ {{- if and .Values.podDisruptionBudget.enabled (gt $replicaCount 1) }}
2
6
apiVersion : {{ include "capabilities.podDisruptionBudget.apiVersion" . }}
3
7
kind : PodDisruptionBudget
4
8
metadata :
You can’t perform that action at this time.
0 commit comments