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

View File

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

View File

@ -46,8 +46,18 @@ data:
kubernetes.io/tls-acme: "true" kubernetes.io/tls-acme: "true"
hosts: hosts:
- host: "do.${domain}" - 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}" - host: "du.${domain}"
paths:
- path: /
pathType: Prefix
- host: "tasks.${domain}" - host: "tasks.${domain}"
paths:
- path: /
pathType: Prefix
tls: tls:
- secretName: vikunja-tls - secretName: vikunja-tls
hosts: hosts:
@ -55,7 +65,7 @@ data:
- "du.${domain}" - "du.${domain}"
- "tasks.${domain}" - "tasks.${domain}"
caddy: caddy:
# TODO is caddy needed at all # TODO is caddy needed at all?
noTls: true noTls: true
postgresql: postgresql:
enabled: true enabled: true