From 44fecf67c2cfa32a366ad53cf41f8f2ff24ddc1a Mon Sep 17 00:00:00 2001 From: Manuel Ganter Date: Mon, 1 Dec 2025 15:03:31 +0100 Subject: [PATCH] added oidc env vars for terralist --- .../stacks/terralist/terralist/values.yaml | 32 +++++++++++++++---- 1 file changed, 25 insertions(+), 7 deletions(-) diff --git a/template/stacks/terralist/terralist/values.yaml b/template/stacks/terralist/terralist/values.yaml index 3aa2996..096db37 100644 --- a/template/stacks/terralist/terralist/values.yaml +++ b/template/stacks/terralist/terralist/values.yaml @@ -5,17 +5,37 @@ controllers: app: env: - name: TERRALIST_OAUTH_PROVIDER - value: github - - name: TERRALIST_GH_CLIENT_ID + value: oidc + - name: TERRALIST_OI_CLIENT_ID valueFrom: secretKeyRef: - name: github-app-credentials + name: oidc-credentials key: client-id - - name: TERRALIST_GH_CLIENT_SECRET + - name: TERRALIST_OI_CLIENT_SECRET valueFrom: secretKeyRef: - name: github-app-credentials + name: oidc-credentials key: client-secret + - name: TERRALIST_OI_AUTHORIZE_URL + valueFrom: + secretKeyRef: + name: oidc-credentials + key: authorize-url + - name: TERRALIST_OI_TOKEN_URL + valueFrom: + secretKeyRef: + name: oidc-credentials + key: token-url + - name: TERRALIST_OI_USERINFO_URL + valueFrom: + secretKeyRef: + name: oidc-credentials + key: userinfo-url + - name: TERRALIST_OI_SCOPE + valueFrom: + secretKeyRef: + name: oidc-credentials + key: scope - name: TERRALIST_TOKEN_SIGNING_SECRET valueFrom: secretKeyRef: @@ -26,8 +46,6 @@ controllers: secretKeyRef: name: terralist-secret key: cookie-secret - - name: TERRALIST_GH_ORGANIZATION - value: think-ahead-technologies - name: TERRALIST_URL value: https://terralist.{{{ .Env.DOMAIN_GITEA }}} - name: TERRALIST_SQLITE_PATH