From d501d7f0bc98d15a8b5b28d1d9cb191c8d29acb7 Mon Sep 17 00:00:00 2001 From: Wiktork Date: Wed, 6 Dec 2023 09:28:54 +0100 Subject: [PATCH] feat(customer-center): add config for oidc host --- charts/customer-center/Chart.yaml | 13 +++++++++---- charts/customer-center/README.md | 3 ++- charts/customer-center/templates/configmap.yaml | 1 + charts/customer-center/values.yaml | 2 ++ 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/charts/customer-center/Chart.yaml b/charts/customer-center/Chart.yaml index ef6e756d0..fd610c0bd 100644 --- a/charts/customer-center/Chart.yaml +++ b/charts/customer-center/Chart.yaml @@ -2,8 +2,8 @@ apiVersion: v2 name: customer-center description: Chart for Customer-Center application type: application -version: 0.2.30 -appVersion: v3.2.6 +version: 0.2.31 +appVersion: v3.2.7 keywords: - customer-center home: https://github.com/adfinis/customer-center @@ -17,7 +17,12 @@ maintainers: annotations: artifacthub.io/changes: | - kind: changed - description: "update customer-center to v3.2.6" + description: "add config for OIDC URL" + links: + - name: GitHub Commit + url: https://github.com/adfinis/customer-center/commit/2531d6ba95e4752c263ca6a52b36e930ee78f9e2 + - kind: changed + description: "bump appVersion to v3.2.7" links: - name: GitHub Release - url: https://github.com/adfinis/customer-center/releases/tag/v3.2.6 + url: https://github.com/adfinis/customer-center/releases/tag/v3.2.7 diff --git a/charts/customer-center/README.md b/charts/customer-center/README.md index 38f743136..68caf232f 100644 --- a/charts/customer-center/README.md +++ b/charts/customer-center/README.md @@ -1,6 +1,6 @@ # customer-center -![Version: 0.2.30](https://img.shields.io/badge/Version-0.2.30-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.2.6](https://img.shields.io/badge/AppVersion-v3.2.6-informational?style=flat-square) +![Version: 0.2.31](https://img.shields.io/badge/Version-0.2.31-informational?style=flat-square) ![Type: application](https://img.shields.io/badge/Type-application-informational?style=flat-square) ![AppVersion: v3.2.7](https://img.shields.io/badge/AppVersion-v3.2.7-informational?style=flat-square) Chart for Customer-Center application @@ -19,6 +19,7 @@ This chart is maintained by [Adfinis](https://adfinis.com/?pk_campaign=github&pk | Key | Type | Default | Description | |-----|------|---------|-------------| | auth.oidcClient | string | `"cc"` | Configure oidc client for customer-center frontend | +| auth.oidcUrl | string | `"https://example.com/auth/realms/timed/protocol/openid-connect"` | Configure oidc host url for customer-center frontend | | frontend.image.pullPolicy | string | `"IfNotPresent"` | Frontend image pull policy | | frontend.image.repository | string | `"ghcr.io/adfinis/customer-center/frontend"` | Frontend image name | | frontend.livenessProbe | object | `{"enabled":true,"failureThreshold":6,"initialDelaySeconds":60,"periodSeconds":10,"successThreshold":1,"timeoutSeconds":5}` | Liveness probe configuration | diff --git a/charts/customer-center/templates/configmap.yaml b/charts/customer-center/templates/configmap.yaml index 519ac8407..db4707e08 100644 --- a/charts/customer-center/templates/configmap.yaml +++ b/charts/customer-center/templates/configmap.yaml @@ -6,4 +6,5 @@ metadata: {{- include "customerCenter.labels" . | nindent 4 }} app.kubernetes.io/component: frontend data: + OIDC_CLIENT_HOST: {{ .Values.auth.oidcUrl | quote }} OIDC_CLIENT: {{ .Values.auth.oidcClient | quote }} diff --git a/charts/customer-center/values.yaml b/charts/customer-center/values.yaml index 609b48668..9a3397649 100644 --- a/charts/customer-center/values.yaml +++ b/charts/customer-center/values.yaml @@ -76,3 +76,5 @@ ingress: auth: # -- Configure oidc client for customer-center frontend oidcClient: cc + # -- Configure oidc host url for customer-center frontend + oidcUrl: https://example.com/auth/realms/timed/protocol/openid-connect