Skip to content

Commit 66050bf

Browse files
committed
Make deploy.strategy configurable
Signed-off-by: Jan-Otto Kröpke <[email protected]>
1 parent dff4ba1 commit 66050bf

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
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.0.0
2+
version: 7.1.0
33
apiVersion: v2
44
appVersion: 7.6.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -35,7 +35,7 @@ kubeVersion: ">=1.9.0-0"
3535
annotations:
3636
artifacthub.io/changes: |
3737
- kind: added
38-
description: Fix hostAliases to add multiple entries in /etc/hosts
38+
description: Make deploy.strategy configurable
3939
links:
4040
- name: Github PR
41-
url: https://github.com/oauth2-proxy/manifests/pull/164
41+
url: https://github.com/oauth2-proxy/manifests/pull/188

helm/oauth2-proxy/README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ Parameter | Description | Default
178178
`serviceAccount.enabled` | create a service account | `true`
179179
`serviceAccount.name` | the service account name | ``
180180
`serviceAccount.annotations` | (optional) annotations for the service account | `{}`
181+
`strategy` | configure deployment strategy | `{}`
181182
`tolerations` | list of node taints to tolerate | `[]`
182183
`securityContext.enabled` | enable Kubernetes security context on container | `true`
183184
`proxyVarsAsSecrets` | choose between environment values or secrets for setting up OAUTH2_PROXY variables. When set to false, remember to add the variables OAUTH2_PROXY_CLIENT_ID, OAUTH2_PROXY_CLIENT_SECRET, OAUTH2_PROXY_COOKIE_SECRET in extraEnv | `true`

helm/oauth2-proxy/templates/deployment.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ metadata:
1313
spec:
1414
replicas: {{ .Values.replicaCount }}
1515
revisionHistoryLimit: {{ .Values.revisionHistoryLimit }}
16+
{{- with .Values.strategy }}
17+
strategy:
18+
{{ toYaml . | nindent 4 }}
19+
{{- end }}
1620
selector:
1721
matchLabels:
1822
{{- include "oauth2-proxy.selectorLabels" . | indent 6 }}

helm/oauth2-proxy/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ podAnnotations: {}
256256
podLabels: {}
257257
replicaCount: 1
258258
revisionHistoryLimit: 10
259+
strategy: {}
259260

260261
## PodDisruptionBudget settings
261262
## ref: https://kubernetes.io/docs/concepts/workloads/pods/disruptions/

0 commit comments

Comments
 (0)