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}"