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" provider: "openidConnect"
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"
iconUrl: "https://dashboard.${domain}/favicon-32x32.png" iconUrl: "https://dashboard.${domain}/favicon-32x32.png"
# https://docs.gitea.io/en-us/config-cheat-sheet # https://docs.gitea.io/en-us/config-cheat-sheet
config: config:

View File

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

View File

@ -21,10 +21,10 @@ 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: ConfigMap
name: stackspin-invoiceninja-kustomization-variables
- kind: Secret - kind: Secret
name: stackspin-invoiceninja-variables name: stackspin-invoiceninja-variables
- kind: Secret - kind: Secret

View File

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

View File

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

View File

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