Load domain substitutions from ConfigMap

This commit is contained in:
Dreaded_X 2025-02-15 04:28:42 +01:00
parent 8775cbde8d
commit cd97b968a9
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4
3 changed files with 16 additions and 10 deletions

View File

@ -16,11 +16,9 @@ spec:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
postBuild: postBuild:
substitute: substituteFrom:
domain: staging.huizinga.dev - kind: ConfigMap
# Specifically for authelia name: domain-vars
subdomain: .staging
topdomain: huizinga.dev
path: ./apps path: ./apps
prune: true prune: true
wait: true wait: true

View File

@ -0,0 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: domain-vars
namespace: flux-system
data:
domain: staging.huizinga.dev
# Specifically for authelia
subdomain: .staging
topdomain: huizinga.dev

View File

@ -17,11 +17,9 @@ spec:
kind: GitRepository kind: GitRepository
name: flux-system name: flux-system
postBuild: postBuild:
substitute: substituteFrom:
domain: staging.huizinga.dev - kind: ConfigMap
# Specifically for authelia name: domain-vars
subdomain: .staging
topdomain: huizinga.dev
path: ./infrastructure/controllers path: ./infrastructure/controllers
prune: true prune: true
wait: true wait: true