From f7dd7b904fccb20ce797034357dc3e2e20f335c6 Mon Sep 17 00:00:00 2001 From: Kasper Storgaard <116632810+KastTrifork@users.noreply.github.com> Date: Fri, 21 Jun 2024 13:29:58 +0200 Subject: [PATCH] Update oauth2-proxy image to be changed though values (#224) * Updated deployment.yaml: oauth2-proxy image to be changed though values --- charts/cheetah-redpanda-console/README.md | 8 ++++++++ charts/cheetah-redpanda-console/templates/deployment.yaml | 2 +- charts/cheetah-redpanda-console/values.yaml | 1 + 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/charts/cheetah-redpanda-console/README.md b/charts/cheetah-redpanda-console/README.md index f4b69a62..c232a267 100644 --- a/charts/cheetah-redpanda-console/README.md +++ b/charts/cheetah-redpanda-console/README.md @@ -182,6 +182,14 @@ Override the value in `console.config.server.listenPort` if not `nil` **Default:** `{}` +### [oauth2Proxy.image](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=oauth2Proxy.image) + +**Default:** + +``` +"quay.io/oauth2-proxy/oauth2-proxy:v7.5.1" +``` + ### [oauth2Proxy.issuerUrl](https://artifacthub.io/packages/helm/redpanda-data/console?modal=values&path=oauth2Proxy.issuerUrl) **Default:** `""` diff --git a/charts/cheetah-redpanda-console/templates/deployment.yaml b/charts/cheetah-redpanda-console/templates/deployment.yaml index b86d1a16..3eb9fc59 100644 --- a/charts/cheetah-redpanda-console/templates/deployment.yaml +++ b/charts/cheetah-redpanda-console/templates/deployment.yaml @@ -286,7 +286,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} - name: oauth2-proxy - image: quay.io/oauth2-proxy/oauth2-proxy:v7.5.1 + image: {{.Values.oauth2Proxy.image}} imagePullPolicy: IfNotPresent args: - --oidc-issuer-url={{.Values.oauth2Proxy.issuerUrl}} diff --git a/charts/cheetah-redpanda-console/values.yaml b/charts/cheetah-redpanda-console/values.yaml index a193f54b..739a515c 100644 --- a/charts/cheetah-redpanda-console/values.yaml +++ b/charts/cheetah-redpanda-console/values.yaml @@ -84,6 +84,7 @@ console: roleBindings: {} oauth2Proxy: + image: quay.io/oauth2-proxy/oauth2-proxy:v7.5.1 issuerUrl: "" cookieName: __Host-_oauth2Proxy emailDomain: "*"