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:
|
||||
- list:
|
||||
elements:
|
||||
- name: namespace
|
||||
path: applications/00-namespace
|
||||
- name: namespace
|
||||
path: applications/00-namespace
|
||||
namespace: home-server
|
||||
- name: replicator
|
||||
path: applications/10-replicator
|
||||
wave: 1
|
||||
|
||||
- name: replicator
|
||||
path: applications/10-replicator
|
||||
namespace: home-server
|
||||
- name: databases
|
||||
path: applications/20-databases
|
||||
wave: 2
|
||||
|
||||
- name: databases
|
||||
path: applications/20-databases
|
||||
namespace: database
|
||||
- name: domain-names
|
||||
path: applications/30-domain-names
|
||||
wave: 2
|
||||
|
||||
- name: domain-names
|
||||
path: applications/30-domain-names
|
||||
namespace: home-server
|
||||
wave: 2
|
||||
|
||||
template:
|
||||
metadata:
|
||||
name: '{{name}}'
|
||||
|
@ -36,4 +44,7 @@ spec:
|
|||
automated:
|
||||
prune: true
|
||||
selfHeal: true
|
||||
syncOptions:
|
||||
- CreateNamespace=true
|
||||
- SyncWave={[wave}}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue