apps: try to fix inconsistent configmap domain substitution

This commit is contained in:
xeruf 2024-02-12 20:44:23 +01:00
parent 93df195e75
commit 73e44cc301
6 changed files with 5 additions and 14 deletions

View File

@ -26,7 +26,7 @@ data:
provider: "openidConnect"
key: "${client_id}"
secret: "${client_secret}"
autoDiscoverUrl: "https://sso.${domain}/.well-known/openid-configuration"
autoDiscoverUrl: "https://${hydra_domain}/.well-known/openid-configuration"
iconUrl: "https://dashboard.${domain}/favicon-32x32.png"
# https://docs.gitea.io/en-us/config-cheat-sheet
config:

View File

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

View File

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

View File

@ -1,4 +1,3 @@
---
apiVersion: kustomize.toolkit.fluxcd.io/v1beta2
kind: Kustomization
metadata:
@ -16,7 +15,3 @@ spec:
dependsOn:
- name: flux
- name: secrets-controller
postBuild:
substituteFrom:
- kind: Secret
name: stackspin-cluster-variables

View File

@ -37,4 +37,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'

View File

@ -27,4 +27,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'