Hardcode the domain for the meantime

This commit is contained in:
xeruf 2022-06-28 11:42:58 +01:00
parent 39ef8084ad
commit 2137b80af8
5 changed files with 17 additions and 9 deletions

View File

@ -17,5 +17,5 @@ spec:
scope: "openid profile email stackspin_roles"
secretName: stackspin-gitea-oauth-variables
#redirectUris:
# - https://dev.${domain}/oauth/openid/
# - https://dev.ftt.gmbh/oauth/openid/
#tokenEndpointAuthMethod: client_secret_post

View File

@ -11,11 +11,19 @@ data:
annotations:
kubernetes.io/tls-acme: "true"
hosts:
- host: "dev.${domain}"
- host: "dev.ftt.gmbh"
paths:
- path: /
pathType: Prefix
tls:
- secretName: gitea-tls
hosts:
- "dev.${domain}"
- "dev.ftt.gmbh"
gitea:
oauth:
- name: Stackspin
provider: 'openidConnect'
key: gitea
secret: "${client_secret}"
customAuthUrl: "https://sso.ftt.gmbh"
#autoDiscoverUrl: 'https://gitea.example.com/.well-known/openid-configuration'

View File

@ -17,5 +17,5 @@ spec:
scope: "openid profile email stackspin_roles"
secretName: stackspin-vikunja-oauth-variables
redirectUris:
- https://do.${domain}/oauth/openid/
- https://do.ftt.gmbh/oauth/openid/
tokenEndpointAuthMethod: client_secret_post

View File

@ -17,7 +17,7 @@ data:
enabled: true
providers:
- name: Stackspin
authurl: "https://sso.${domain}"
authurl: "https://sso.ftt.gmbh"
clientid: vikunja
clientsecret: "${client_secret}"
local:
@ -29,11 +29,11 @@ data:
annotations:
kubernetes.io/tls-acme: "true"
hosts:
- host: "do.${domain}"
- host: "do.ftt.gmbh"
paths:
- path: /
pathType: Prefix
tls:
- secretName: vikunja
hosts:
- "do.${domain}"
- "do.ftt.gmbh"

View File

@ -7,7 +7,7 @@ flux create source git stackspout \
--namespace=stackspout \
--url=https://open.greenhost.net/xeruf/stackspout.git \
--branch=main \
--interval=10m
--interval=3m
echo "Creating / updating kustomization stackspout in namespace stackspout"
flux create kustomization stackspout \
@ -15,7 +15,7 @@ flux create kustomization stackspout \
--source=GitRepository/stackspout \
--path="./basic/clusters/production/" \
--prune=true \
--interval=10m
--interval=3m
python $STACKSPIN/install/generate_secrets.py vikunja
python $STACKSPIN/install/generate_secrets.py gitea