Load domain substitutions from ConfigMap
This commit is contained in:
parent
8775cbde8d
commit
cd97b968a9
|
@ -16,11 +16,9 @@ spec:
|
|||
kind: GitRepository
|
||||
name: flux-system
|
||||
postBuild:
|
||||
substitute:
|
||||
domain: staging.huizinga.dev
|
||||
# Specifically for authelia
|
||||
subdomain: .staging
|
||||
topdomain: huizinga.dev
|
||||
substituteFrom:
|
||||
- kind: ConfigMap
|
||||
name: domain-vars
|
||||
path: ./apps
|
||||
prune: true
|
||||
wait: true
|
||||
|
|
10
clusters/titan.lan.huizinga.dev/config-map-domain-vars.yaml
Normal file
10
clusters/titan.lan.huizinga.dev/config-map-domain-vars.yaml
Normal 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
|
|
@ -17,11 +17,9 @@ spec:
|
|||
kind: GitRepository
|
||||
name: flux-system
|
||||
postBuild:
|
||||
substitute:
|
||||
domain: staging.huizinga.dev
|
||||
# Specifically for authelia
|
||||
subdomain: .staging
|
||||
topdomain: huizinga.dev
|
||||
substituteFrom:
|
||||
- kind: ConfigMap
|
||||
name: domain-vars
|
||||
path: ./infrastructure/controllers
|
||||
prune: true
|
||||
wait: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user