apps: reenable secret substitution properly
This commit is contained in:
parent
73e44cc301
commit
04c20ae36b
|
@ -16,3 +16,7 @@ spec:
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: flux
|
- name: flux
|
||||||
- name: secrets-controller
|
- name: secrets-controller
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: Secret
|
||||||
|
name: stackspin-cluster-variables
|
||||||
|
|
|
@ -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}/auth/openid/stackspin
|
- https://${vikunja_domain}/auth/openid/stackspin
|
||||||
tokenEndpointAuthMethod: client_secret_post
|
tokenEndpointAuthMethod: client_secret_post
|
||||||
|
|
|
@ -13,13 +13,13 @@ data:
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: "do.${domain}"
|
- host: "${vikunja_domain}"
|
||||||
paths:
|
paths:
|
||||||
- path: /
|
- path: /
|
||||||
tls:
|
tls:
|
||||||
- secretName: vikunja-tls
|
- secretName: vikunja-tls
|
||||||
hosts:
|
hosts:
|
||||||
- "do.${domain}"
|
- "${vikunja_domain}"
|
||||||
api:
|
api:
|
||||||
persistence:
|
persistence:
|
||||||
data:
|
data:
|
||||||
|
@ -30,13 +30,13 @@ data:
|
||||||
annotations:
|
annotations:
|
||||||
kubernetes.io/tls-acme: "true"
|
kubernetes.io/tls-acme: "true"
|
||||||
hosts:
|
hosts:
|
||||||
- host: "do.${domain}"
|
- host: "${vikunja_domain}"
|
||||||
paths:
|
paths:
|
||||||
- path: /api
|
- path: /api
|
||||||
tls:
|
tls:
|
||||||
- secretName: vikunja-tls
|
- secretName: vikunja-tls
|
||||||
hosts:
|
hosts:
|
||||||
- "do.${domain}"
|
- "${vikunja_domain}"
|
||||||
configMaps:
|
configMaps:
|
||||||
config:
|
config:
|
||||||
data:
|
data:
|
||||||
|
@ -46,7 +46,7 @@ data:
|
||||||
# https://vikunja.io/docs/config-options/#openid
|
# https://vikunja.io/docs/config-options/#openid
|
||||||
# Example: https://github.com/go-vikunja/api/blob/main/config.yml.sample#L289-L312
|
# Example: https://github.com/go-vikunja/api/blob/main/config.yml.sample#L289-L312
|
||||||
enabled: true
|
enabled: true
|
||||||
redirecturl: "https://do.${domain}/auth/openid/"
|
redirecturl: "https://${vikunja_domain}/auth/openid/"
|
||||||
providers:
|
providers:
|
||||||
- name: Stackspin
|
- name: Stackspin
|
||||||
authurl: "https://${hydra_domain}/"
|
authurl: "https://${hydra_domain}/"
|
||||||
|
@ -64,7 +64,7 @@ data:
|
||||||
forcessl: true
|
forcessl: true
|
||||||
# TODO Configure PVC for file uploads
|
# TODO Configure PVC for file uploads
|
||||||
service:
|
service:
|
||||||
frontendurl: "https://do.${domain}"
|
frontendurl: "https://${vikunja_domain}"
|
||||||
timezone: "CET"
|
timezone: "CET"
|
||||||
JWTSecret: "${jwt}"
|
JWTSecret: "${jwt}"
|
||||||
database:
|
database:
|
||||||
|
|
|
@ -16,3 +16,7 @@ spec:
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: flux
|
- name: flux
|
||||||
- name: secrets-controller
|
- name: secrets-controller
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: Secret
|
||||||
|
name: stackspin-cluster-variables
|
||||||
|
|
|
@ -15,3 +15,7 @@ spec:
|
||||||
dependsOn:
|
dependsOn:
|
||||||
- name: flux
|
- name: flux
|
||||||
- name: secrets-controller
|
- name: secrets-controller
|
||||||
|
postBuild:
|
||||||
|
substituteFrom:
|
||||||
|
- kind: Secret
|
||||||
|
name: stackspin-cluster-variables
|
||||||
|
|
Loading…
Reference in New Issue