File tree Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Expand file tree Collapse file tree 4 files changed +16
-4
lines changed Original file line number Diff line number Diff line change 1
1
name : oauth2-proxy
2
- version : 8.1.1
2
+ version : 8.2.0
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: fixed
35
- description: Fixed the Pod Disruption Budget when Horizontal Pod Autoscaling is enabled
34
+ - kind: added
35
+ description: Add support for new container resize policy feature
36
36
links:
37
37
- name: Github PR
38
- url: https://github.com/oauth2-proxy/manifests/pull/341
38
+ url: https://github.com/oauth2-proxy/manifests/pull/346
Original file line number Diff line number Diff line change @@ -198,6 +198,7 @@ The following table lists the configurable parameters of the oauth2-proxy chart
198
198
| ` readinessProbe.successThreshold ` | number of successes | 1 |
199
199
| ` replicaCount ` | desired number of pods | ` 1 ` |
200
200
| ` resources ` | pod resource requests & limits | ` {} ` |
201
+ | ` resizePolicy ` | Container resize policy for runtime resource updates. See [ Kubernetes docs] ( https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/ ) | ` [] ` |
201
202
| ` revisionHistoryLimit ` | maximum number of revisions maintained | 10 |
202
203
| ` service.portNumber ` | port number for the service | ` 80 ` |
203
204
| ` service.appProtocol ` | application protocol on the port of the service | ` http ` |
Original file line number Diff line number Diff line change @@ -285,6 +285,9 @@ spec:
285
285
{{- end }}
286
286
resources :
287
287
{{ toYaml .Values.resources | indent 10 }}
288
+ {{- with .Values.resizePolicy }}
289
+ resizePolicy : {{ toYaml . | nindent 10 }}
290
+ {{- end }}
288
291
volumeMounts :
289
292
{{- with .Values.config.google }}
290
293
{{- if and .adminEmail (or .serviceAccountJson .existingSecret) }}
Original file line number Diff line number Diff line change @@ -215,6 +215,14 @@ resources:
215
215
# cpu: 100m
216
216
# memory: 300Mi
217
217
218
+ # Container resize policy for runtime resource updates
219
+ # Ref: https://kubernetes.io/docs/tasks/configure-pod-container/resize-container-resources/
220
+ resizePolicy : []
221
+ # - resourceName: cpu
222
+ # restartPolicy: NotRequired
223
+ # - resourceName: memory
224
+ # restartPolicy: RestartContainer
225
+
218
226
extraVolumes :
219
227
[]
220
228
# - name: ca-bundle-cert
You can’t perform that action at this time.
0 commit comments