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"
secretName: stackspin-gitea-oauth-variables
redirectUris:
- http://dev.${domain}/user/oauth2/Stackspin/callback
- https://dev.${domain}/user/oauth2/Stackspin/callback
tokenEndpointAuthMethod: client_secret_post

View File

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

View File

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