Parameterize sync wave and improve formatting
This commit is contained in:
parent
0b4142c63d
commit
47c817b4c6
1 changed files with 19 additions and 8 deletions
|
@ -8,18 +8,26 @@ spec:
|
||||||
generators:
|
generators:
|
||||||
- list:
|
- list:
|
||||||
elements:
|
elements:
|
||||||
- name: namespace
|
- name: namespace
|
||||||
path: applications/00-namespace
|
path: applications/00-namespace
|
||||||
namespace: home-server
|
namespace: home-server
|
||||||
- name: replicator
|
wave: 1
|
||||||
path: applications/10-replicator
|
|
||||||
|
- name: replicator
|
||||||
|
path: applications/10-replicator
|
||||||
namespace: home-server
|
namespace: home-server
|
||||||
- name: databases
|
wave: 2
|
||||||
path: applications/20-databases
|
|
||||||
|
- name: databases
|
||||||
|
path: applications/20-databases
|
||||||
namespace: database
|
namespace: database
|
||||||
- name: domain-names
|
wave: 2
|
||||||
path: applications/30-domain-names
|
|
||||||
|
- name: domain-names
|
||||||
|
path: applications/30-domain-names
|
||||||
namespace: home-server
|
namespace: home-server
|
||||||
|
wave: 2
|
||||||
|
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
name: '{{name}}'
|
name: '{{name}}'
|
||||||
|
@ -36,4 +44,7 @@ spec:
|
||||||
automated:
|
automated:
|
||||||
prune: true
|
prune: true
|
||||||
selfHeal: true
|
selfHeal: true
|
||||||
|
syncOptions:
|
||||||
|
- CreateNamespace=true
|
||||||
|
- SyncWave={[wave}}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue