Load domain substitutions from ConfigMap
This commit is contained in:
parent
8775cbde8d
commit
cd97b968a9
|
@ -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
|
||||||
|
|
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
|
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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user