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 - name: single-sign-on
postBuild: postBuild:
substituteFrom: substituteFrom:
- kind: Secret
name: stackspin-cluster-variables
- kind: ConfigMap - kind: ConfigMap
name: stackspin-forgejo-kustomization-variables name: stackspin-forgejo-kustomization-variables
- kind: Secret
name: stackspin-cluster-variables
- kind: Secret - kind: Secret
name: stackspin-forgejo-variables name: stackspin-forgejo-variables
# OIDC # OIDC

View File

@ -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

View File

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

View File

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