apps: parametrize variables

This commit is contained in:
xeruf 2022-06-29 23:41:48 +01:00
parent 5a0a500265
commit a59a74b3e3
4 changed files with 9 additions and 9 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.ftt.gmbh/oauth/openid/ # - https://dev.${domain}/oauth/openid/
#tokenEndpointAuthMethod: client_secret_post #tokenEndpointAuthMethod: client_secret_post

View File

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

View File

@ -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.ftt.gmbh/oauth/openid/ - https://do.${domain}/oauth/openid/
tokenEndpointAuthMethod: client_secret_post tokenEndpointAuthMethod: client_secret_post

View File

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