gitea: update to https

This commit is contained in:
xeruf 2022-06-30 14:37:48 +01:00
parent e0496141ee
commit 5a47fc8ba2
3 changed files with 10 additions and 6 deletions

View File

@ -17,5 +17,5 @@ spec:
scope: "openid profile email stackspin_roles" scope: "openid profile email stackspin_roles"
secretName: stackspin-gitea-oauth-variables secretName: stackspin-gitea-oauth-variables
redirectUris: redirectUris:
- http://dev.${domain}/user/oauth2/Stackspin/callback - https://dev.${domain}/user/oauth2/Stackspin/callback
tokenEndpointAuthMethod: client_secret_post tokenEndpointAuthMethod: client_secret_post

View File

@ -8,7 +8,7 @@ spec:
chart: chart:
spec: spec:
chart: gitea chart: gitea
version: 5.0.4 version: 5.0.9
sourceRef: sourceRef:
kind: HelmRepository kind: HelmRepository
name: gitea name: gitea

View File

@ -8,8 +8,8 @@ data:
values.yaml: | values.yaml: |
ingress: ingress:
enabled: true enabled: true
#annotations: annotations:
# kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
hosts: hosts:
- host: "dev.${domain}" - host: "dev.${domain}"
paths: paths:
@ -19,10 +19,14 @@ data:
- secretName: gitea-tls - secretName: gitea-tls
hosts: hosts:
- "dev.${domain}" - "dev.${domain}"
- "tempdev.${domain}"
gitea: gitea:
oauth: oauth:
- name: Stackspin - name: Stackspin
provider: 'openidConnect' provider: "openidConnect"
key: "${client_id}" key: "${client_id}"
secret: "${client_secret}" 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}"