Hardcode the domain for the meantime
This commit is contained in:
parent
39ef8084ad
commit
2137b80af8
|
@ -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}/oauth/openid/
|
# - https://dev.ftt.gmbh/oauth/openid/
|
||||||
#tokenEndpointAuthMethod: client_secret_post
|
#tokenEndpointAuthMethod: client_secret_post
|
||||||
|
|
|
@ -11,11 +11,19 @@ data:
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: "dev.${domain}"
|
- host: "dev.ftt.gmbh"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls:
|
tls:
|
||||||
- secretName: gitea-tls
|
- secretName: gitea-tls
|
||||||
hosts:
|
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'
|
||||||
|
|
|
@ -17,5 +17,5 @@ spec:
|
||||||
scope: "openid profile email stackspin_roles"
|
scope: "openid profile email stackspin_roles"
|
||||||
secretName: stackspin-vikunja-oauth-variables
|
secretName: stackspin-vikunja-oauth-variables
|
||||||
redirectUris:
|
redirectUris:
|
||||||
- https://do.${domain}/oauth/openid/
|
- https://do.ftt.gmbh/oauth/openid/
|
||||||
tokenEndpointAuthMethod: client_secret_post
|
tokenEndpointAuthMethod: client_secret_post
|
||||||
|
|
|
@ -17,7 +17,7 @@ data:
|
||||||
enabled: true
|
enabled: true
|
||||||
providers:
|
providers:
|
||||||
- name: Stackspin
|
- name: Stackspin
|
||||||
authurl: "https://sso.${domain}"
|
authurl: "https://sso.ftt.gmbh"
|
||||||
clientid: vikunja
|
clientid: vikunja
|
||||||
clientsecret: "${client_secret}"
|
clientsecret: "${client_secret}"
|
||||||
local:
|
local:
|
||||||
|
@ -29,11 +29,11 @@ data:
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: "do.${domain}"
|
- host: "do.ftt.gmbh"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
pathType: Prefix
|
pathType: Prefix
|
||||||
tls:
|
tls:
|
||||||
- secretName: vikunja
|
- secretName: vikunja
|
||||||
hosts:
|
hosts:
|
||||||
- "do.${domain}"
|
- "do.ftt.gmbh"
|
||||||
|
|
|
@ -7,7 +7,7 @@ flux create source git stackspout \
|
||||||
--namespace=stackspout \
|
--namespace=stackspout \
|
||||||
--url=https://open.greenhost.net/xeruf/stackspout.git \
|
--url=https://open.greenhost.net/xeruf/stackspout.git \
|
||||||
--branch=main \
|
--branch=main \
|
||||||
--interval=10m
|
--interval=3m
|
||||||
|
|
||||||
echo "Creating / updating kustomization stackspout in namespace stackspout"
|
echo "Creating / updating kustomization stackspout in namespace stackspout"
|
||||||
flux create kustomization stackspout \
|
flux create kustomization stackspout \
|
||||||
|
@ -15,7 +15,7 @@ flux create kustomization stackspout \
|
||||||
--source=GitRepository/stackspout \
|
--source=GitRepository/stackspout \
|
||||||
--path="./basic/clusters/production/" \
|
--path="./basic/clusters/production/" \
|
||||||
--prune=true \
|
--prune=true \
|
||||||
--interval=10m
|
--interval=3m
|
||||||
|
|
||||||
python $STACKSPIN/install/generate_secrets.py vikunja
|
python $STACKSPIN/install/generate_secrets.py vikunja
|
||||||
python $STACKSPIN/install/generate_secrets.py gitea
|
python $STACKSPIN/install/generate_secrets.py gitea
|
||||||
|
|
Loading…
Reference in New Issue