apps: reorder url substitution

This commit is contained in:
xeruf 2024-02-12 12:04:39 +01:00
parent e434cdf9d3
commit cf4cb14885
4 changed files with 9 additions and 5 deletions

View File

@ -21,10 +21,10 @@ spec:
- name: single-sign-on
postBuild:
substituteFrom:
- kind: Secret
name: stackspin-cluster-variables
- kind: ConfigMap
name: stackspin-forgejo-kustomization-variables
- kind: Secret
name: stackspin-cluster-variables
- kind: Secret
name: stackspin-forgejo-variables
# OIDC

View File

@ -16,3 +16,7 @@ spec:
dependsOn:
- name: flux
- name: secrets-controller
postBuild:
substituteFrom:
- kind: Secret
name: stackspin-cluster-variables

View File

@ -21,12 +21,12 @@ spec:
#- name: single-sign-on
postBuild:
substituteFrom:
- kind: ConfigMap
name: stackspin-invoiceninja-kustomization-variables
- kind: Secret
name: stackspin-cluster-variables
- kind: Secret
name: stackspin-invoiceninja-variables
- kind: ConfigMap
name: stackspin-invoiceninja-kustomization-variables
- kind: Secret
name: stackspin-invoiceninja-oauth-variables
optional: true

View File

@ -76,4 +76,4 @@ data:
# - name: Stackspin
# key: "${client_id}"
# secret: "${client_secret}"
# autoDiscoverUrl: 'https://sso.${domain}/.well-known/openid-configuration'
# autoDiscoverUrl: 'https://${hydra_domain}/.well-known/openid-configuration'