diff --git a/charts/testkube-enterprise/profiles/values.demo.yaml b/charts/testkube-enterprise/profiles/values.demo.yaml index 4352d4af4..0eb7669e8 100644 --- a/charts/testkube-enterprise/profiles/values.demo.yaml +++ b/charts/testkube-enterprise/profiles/values.demo.yaml @@ -111,6 +111,7 @@ dex: - id: testkube-enterprise redirectURIs: - http://localhost:8090/auth/callback + - http://localhost:38090/auth/callback name: Testkube secret: QWkVzs3nct6HZM5hxsPzwaZtq additionalConfig: | diff --git a/charts/testkube-enterprise/templates/dex-config-secret.yaml b/charts/testkube-enterprise/templates/dex-config-secret.yaml index 3e0fe0408..d2b009fa5 100644 --- a/charts/testkube-enterprise/templates/dex-config-secret.yaml +++ b/charts/testkube-enterprise/templates/dex-config-secret.yaml @@ -28,12 +28,22 @@ stringData: name: 'Testkube Enterprise' secret: '{{ $api.api.oauth.clientSecret }}' redirectURIs: - - '{{ if .Values.global.domain }}https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback{{ else }}http://localhost:8090/auth/callback{{ end }}' + {{- if .Values.global.domain }} + - 'https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback' + {{- else }} + - 'http://localhost:8090/auth/callback' + - 'http://localhost:38090/auth/callback' + {{- end }} - id: teskube-cloud-cli name: 'Testkube Enterprise CLI' secret: '{{ $api.api.oauth.clientSecret }}' redirectURIs: - - '{{ if .Values.global.domain }}https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback{{ else }}http://localhost:8090/auth/callback{{ end }}' + {{- if .Values.global.domain }} + - 'https://{{ .Values.global.restApiSubdomain }}.{{ .Values.global.domain }}/auth/callback' + {{- else }} + - 'http://localhost:8090/auth/callback' + - 'http://localhost:38090/auth/callback' + {{- end }} {{- with .Values.dex.configTemplate.additionalStaticClients }} {{- toYaml . | nindent 6 }} {{- end }} diff --git a/charts/testkube-enterprise/values.yaml b/charts/testkube-enterprise/values.yaml index 5e3bc49f2..af8db284b 100644 --- a/charts/testkube-enterprise/values.yaml +++ b/charts/testkube-enterprise/values.yaml @@ -740,6 +740,7 @@ dex: # name: Testkube Cloud - localdev # redirectURIs: # - http://localhost:8090/auth/callback + # - http://localhost:38090/auth/callback # secret: some-secret # -- Additional config which will be appended to the config like `staticClients`, `staticPasswords ,`connectors`... additionalConfig: ""