From 5a47fc8ba2fac771c3c99ef9be52d6a91a33f71c Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Thu, 30 Jun 2022 14:37:48 +0100 Subject: [PATCH] gitea: update to https --- basic/apps/dev/gitea-oauth-client.yaml | 2 +- basic/apps/dev/gitea-release.yaml | 2 +- basic/apps/dev/gitea-values-configmap.yaml | 12 ++++++++---- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/basic/apps/dev/gitea-oauth-client.yaml b/basic/apps/dev/gitea-oauth-client.yaml index c70a117..13e453e 100644 --- a/basic/apps/dev/gitea-oauth-client.yaml +++ b/basic/apps/dev/gitea-oauth-client.yaml @@ -17,5 +17,5 @@ spec: scope: "openid profile email stackspin_roles" secretName: stackspin-gitea-oauth-variables redirectUris: - - http://dev.${domain}/user/oauth2/Stackspin/callback + - https://dev.${domain}/user/oauth2/Stackspin/callback tokenEndpointAuthMethod: client_secret_post diff --git a/basic/apps/dev/gitea-release.yaml b/basic/apps/dev/gitea-release.yaml index ef52ffb..1c50219 100644 --- a/basic/apps/dev/gitea-release.yaml +++ b/basic/apps/dev/gitea-release.yaml @@ -8,7 +8,7 @@ spec: chart: spec: chart: gitea - version: 5.0.4 + version: 5.0.9 sourceRef: kind: HelmRepository name: gitea diff --git a/basic/apps/dev/gitea-values-configmap.yaml b/basic/apps/dev/gitea-values-configmap.yaml index 5e73905..973627c 100644 --- a/basic/apps/dev/gitea-values-configmap.yaml +++ b/basic/apps/dev/gitea-values-configmap.yaml @@ -8,8 +8,8 @@ data: values.yaml: | ingress: enabled: true - #annotations: - # kubernetes.io/tls-acme: "true" + annotations: + kubernetes.io/tls-acme: "true" hosts: - host: "dev.${domain}" paths: @@ -19,10 +19,14 @@ data: - secretName: gitea-tls hosts: - "dev.${domain}" + - "tempdev.${domain}" gitea: oauth: - name: Stackspin - provider: 'openidConnect' + provider: "openidConnect" key: "${client_id}" secret: "${client_secret}" - autoDiscoverUrl: 'https://sso.${domain}/.well-known/openid-configuration' + autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration" + config: + server: + ROOT_URL: "https://dev.${domain}"