Skip to content

Commit ea43b2a

Browse files
committed
feat: switch to dandydeveloper/redis-ha chart
Signed-off-by: Jan Larwig <[email protected]>
1 parent 2b95e8c commit ea43b2a

File tree

8 files changed

+73
-58
lines changed

8 files changed

+73
-58
lines changed

.github/workflows/release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
2525
- name: Add Helm repositories
2626
run: |
27-
helm repo add bitnami https://charts.bitnami.com/bitnami
27+
helm repo add dandydev https://dandydeveloper.github.io/charts
2828
2929
- name: Run chart-releaser
3030
uses: helm/[email protected]

ct.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ chart-dirs:
55
target-branch: main
66
# helm-extra-args: --timeout 600s
77
chart-repos:
8-
- bitnami=https://charts.bitnami.com/bitnami
8+
- dandydev=https://dandydeveloper.github.io/charts

helm/oauth2-proxy/Chart.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dependencies:
2-
- name: redis
3-
repository: https://charts.bitnami.com/bitnami
4-
version: 22.0.1
5-
digest: sha256:7e8f393290629839ef212fb63e9ab4c5170ccba3da30c06c464a554987fcbb45
6-
generated: "2025-08-11T14:45:37.460990457Z"
2+
- name: redis-ha
3+
repository: https://dandydeveloper.github.io/charts
4+
version: 4.33.8
5+
digest: sha256:99abe093ebc97b930cad234e3bce566bb55e11ed0b2324e195d9783aaf5d1ace
6+
generated: "2025-08-13T08:08:37.645426006+02:00"

helm/oauth2-proxy/Chart.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: oauth2-proxy
2-
version: 7.17.1
2+
version: 8.0.0
33
apiVersion: v2
44
appVersion: 7.11.0
55
home: https://oauth2-proxy.github.io/oauth2-proxy/
@@ -13,9 +13,9 @@ keywords:
1313
- github
1414
- redis
1515
dependencies:
16-
- name: redis
17-
version: 22.0.1
18-
repository: https://charts.bitnami.com/bitnami
16+
- name: redis-ha
17+
version: 4.33.8
18+
repository: https://dandydeveloper.github.io/charts
1919
alias: redis
2020
condition: redis.enabled
2121
sources:
@@ -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: Replace Redis chart by bitnami with dandydeveloper/redis-ha chart
3636
links:
3737
- name: Github PR
38-
url: https://github.com/oauth2-proxy/manifests/pull/334
38+
url: https://github.com/oauth2-proxy/manifests/pull/335

helm/oauth2-proxy/ci/redis-sentinel-array-values.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,16 @@ sessionStorage:
88
connectionUrls:
99
- "redis://oauth2-proxy-redis:26379"
1010
- "redis://oauth2-proxy-redis:26379"
11+
12+
# provision an instance of the redis-ha sub-chart
1113
redis:
12-
# provision an instance of the redis sub-chart
1314
enabled: true
1415
fullnameOverride: oauth2-proxy-redis
15-
architecture: replication
16-
sentinel:
17-
enabled: true
18-
masterSet: mymaster
19-
global:
20-
redis:
21-
password: "foo"
16+
replicas: 3
17+
redisPassword: "foo"
18+
redis:
19+
masterGroupName: mymaster
20+
2221
initContainers:
2322
waitForRedis:
2423
enabled: true

helm/oauth2-proxy/ci/redis-sentinel-comma-values.yaml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,16 @@ sessionStorage:
66
password: "foo"
77
masterName: "mymaster"
88
connectionUrls: "redis://oauth2-proxy-redis:26379,redis://oauth2-proxy-redis:26379"
9+
10+
# provision an instance of the redis-ha sub-chart
911
redis:
10-
# provision an instance of the redis sub-chart
1112
enabled: true
1213
fullnameOverride: oauth2-proxy-redis
13-
architecture: replication
14-
sentinel:
15-
enabled: true
16-
masterSet: mymaster
17-
global:
18-
redis:
19-
password: "foo"
14+
replicas: 3
15+
redisPassword: "foo"
16+
redis:
17+
masterGroupName: mymaster
18+
2019
initContainers:
2120
waitForRedis:
2221
enabled: true

helm/oauth2-proxy/ci/redis-standalone-values.yaml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ sessionStorage:
33
redis:
44
clientType: "standalone"
55
password: "foo"
6+
7+
# provision an instance of the redis-ha sub-chart
68
redis:
7-
# provision an instance of the redis sub-chart
89
enabled: true
9-
architecture: standalone
10-
global:
11-
redis:
12-
password: "foo"
10+
fullnameOverride: oauth2-proxy-redis
11+
replicas: 1
12+
redisPassword: "foo"
13+
1314
initContainers:
1415
waitForRedis:
1516
enabled: true

helm/oauth2-proxy/values.yaml

Lines changed: 40 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@ config:
3131
# The name of the cookie that oauth2-proxy will create
3232
# If left empty, it will default to the release name
3333
cookieName: ""
34-
google: {}
34+
google:
35+
{}
3536
# adminEmail: xxxx
3637
# useApplicationDefaultCredentials: true
3738
# targetPrincipal: xxxx
@@ -83,7 +84,8 @@ image:
8384
# Optionally specify an array of imagePullSecrets.
8485
# Secrets must be manually created in the namespace.
8586
# ref: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod
86-
imagePullSecrets: []
87+
imagePullSecrets:
88+
[]
8789
# - name: myRegistryKeySecretName
8890

8991
# Set a custom containerPort if required.
@@ -183,7 +185,7 @@ ingress:
183185
pathType: ImplementationSpecific
184186
# Used to create an Ingress record.
185187
# hosts:
186-
# - chart-example.local
188+
# - chart-example.local
187189
# Extra paths to prepend to every host configuration. This is useful when working with annotation based services.
188190
# Warning! The configuration is dependant on your current k8s API version capabilities (networking.k8s.io/v1)
189191
# extraPaths:
@@ -199,35 +201,40 @@ ingress:
199201
# kubernetes.io/ingress.class: nginx
200202
# kubernetes.io/tls-acme: "true"
201203
# tls:
202-
# Secrets must be manually created in the namespace.
203-
# - secretName: chart-example-tls
204-
# hosts:
205-
# - chart-example.local
204+
# Secrets must be manually created in the namespace.
205+
# - secretName: chart-example-tls
206+
# hosts:
207+
# - chart-example.local
206208

207-
resources: {}
209+
resources:
210+
{}
208211
# limits:
209212
# cpu: 100m
210213
# memory: 300Mi
211214
# requests:
212215
# cpu: 100m
213216
# memory: 300Mi
214217

215-
extraVolumes: []
218+
extraVolumes:
219+
[]
216220
# - name: ca-bundle-cert
217221
# secret:
218222
# secretName: <secret-name>
219223

220-
extraVolumeMounts: []
224+
extraVolumeMounts:
225+
[]
221226
# - mountPath: /etc/ssl/certs/
222227
# name: ca-bundle-cert
223228

224229
# Additional containers to be added to the pod.
225-
extraContainers: []
230+
extraContainers:
231+
[]
226232
# - name: my-sidecar
227233
# image: nginx:latest
228234

229235
# Additional Init containers to be added to the pod.
230-
extraInitContainers: []
236+
extraInitContainers:
237+
[]
231238
# - name: wait-for-idp
232239
# image: my-idp-wait:latest
233240
# command:
@@ -288,7 +295,7 @@ securityContext:
288295
allowPrivilegeEscalation: false
289296
capabilities:
290297
drop:
291-
- ALL
298+
- ALL
292299
readOnlyRootFilesystem: true
293300
runAsNonRoot: true
294301
runAsUser: 2000
@@ -323,7 +330,8 @@ autoscaling:
323330
annotations: {}
324331
# Configure HPA behavior policies for scaling if needed
325332
# Ref: https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/#configuring-scaling-behavior
326-
behavior: {}
333+
behavior:
334+
{}
327335
# scaleDown:
328336
# stabilizationWindowSeconds: 300
329337
# policies:
@@ -376,7 +384,8 @@ initContainers:
376384
seccompProfile:
377385
type: RuntimeDefault
378386
timeout: 180
379-
resources: {}
387+
resources:
388+
{}
380389
# limits:
381390
# cpu: 100m
382391
# memory: 300Mi
@@ -431,19 +440,25 @@ sessionStorage:
431440
# - "redis://127.0.0.1:8000"
432441
# - "redis://127.0.0.1:8001"
433442

434-
# Enables and configure the automatic deployment of the redis subchart
443+
# Enables and configure the automatic deployment of the redis-ha subchart
435444
redis:
436-
# provision an instance of the redis sub-chart
445+
# provision an instance of the redis-ha sub-chart
437446
enabled: false
438447
# Redis specific helm chart settings, please see:
439-
# https://github.com/bitnami/charts/tree/master/bitnami/redis#parameters
440-
# global:
441-
# redis:
442-
# password: yourpassword
448+
# https://artifacthub.io/packages/helm/dandydev-charts/redis-ha#general-parameters
449+
#
450+
# Recommended:
451+
#
452+
# redisPassword: xxxxx
453+
# replicas: 1
454+
# persistentVolume:
455+
# enabled: false
456+
#
443457
# If you install Redis using this sub chart, make sure that the password of the sub chart matches the password
444458
# you set in sessionStorage.redis.password (see above).
445-
# redisPort: 6379
446-
# architecture: standalone
459+
#
460+
# If you want to use redis in sentinel mode see:
461+
# https://artifacthub.io/packages/helm/dandydev-charts/redis-ha#redis-sentinel-parameters
447462

448463
# Enables apiVersion deprecation checks
449464
checkDeprecation: true
@@ -511,7 +526,8 @@ metrics:
511526
# action: replace
512527

513528
# Extra K8s manifests to deploy
514-
extraObjects: []
529+
extraObjects:
530+
[]
515531
# - apiVersion: secrets-store.csi.x-k8s.io/v1
516532
# kind: SecretProviderClass
517533
# metadata:

0 commit comments

Comments
 (0)