apps: move gitea from dev to code and fix vikunja ingress paths

This commit is contained in:
xeruf 2022-07-18 12:40:14 +01:00
parent 8eb5e2efd4
commit 499b5205bd
7 changed files with 15 additions and 6 deletions

View File

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

View File

@ -10,15 +10,14 @@ data:
annotations:
kubernetes.io/tls-acme: "true"
hosts:
- host: "dev.${domain}"
- host: "code.${domain}"
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls
hosts:
- "dev.${domain}"
- "tmpdev.${domain}"
- "code.${domain}"
gitea:
oauth:
- name: Stackspin
@ -28,7 +27,7 @@ data:
autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration"
config:
server:
ROOT_URL: "https://dev.${domain}"
ROOT_URL: "https://code.${domain}"
persistence:
enabled: true
existingClaim: gitea-data

View File

@ -46,8 +46,18 @@ data:
kubernetes.io/tls-acme: "true"
hosts:
- host: "do.${domain}"
# Helm template rather than repitition? See https://github.com/k8s-at-home/library-charts/blob/4d09a8ddbdf11c278101b74b36720b5f7c17cd71/charts/stable/common/values.yaml#L342
paths:
- path: /
pathType: Prefix
- host: "du.${domain}"
paths:
- path: /
pathType: Prefix
- host: "tasks.${domain}"
paths:
- path: /
pathType: Prefix
tls:
- secretName: vikunja-tls
hosts:
@ -55,7 +65,7 @@ data:
- "du.${domain}"
- "tasks.${domain}"
caddy:
# TODO is caddy needed at all
# TODO is caddy needed at all?
noTls: true
postgresql:
enabled: true