chnage tempalate generation
This commit is contained in:
@@ -20,9 +20,10 @@ spec:
|
|||||||
repoURL: {{ $.Values.git.repo }}
|
repoURL: {{ $.Values.git.repo }}
|
||||||
revision: {{ $.Values.git.revision }}
|
revision: {{ $.Values.git.revision }}
|
||||||
directories:
|
directories:
|
||||||
- path: "{{ $.Values.git.path }}/{{ $stack.name }}/*"
|
- path: "clusters/{{ $.Values.cluster.name }}/{{ $stack.name }}/*"
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
|
name: '{{ `{{path.basename}}` }}'
|
||||||
spec:
|
spec:
|
||||||
destination:
|
destination:
|
||||||
name: in-cluster
|
name: in-cluster
|
||||||
@@ -33,6 +34,8 @@ spec:
|
|||||||
repoURL: {{ $.Values.git.repo }}
|
repoURL: {{ $.Values.git.repo }}
|
||||||
targetRevision: {{ $.Values.git.revision }}
|
targetRevision: {{ $.Values.git.revision }}
|
||||||
path: '{{ `{{path}}` }}'
|
path: '{{ `{{path}}` }}'
|
||||||
|
helm:
|
||||||
|
releaseName: "{{ `{{path.basename}}` }}"
|
||||||
ignoreDifferences:
|
ignoreDifferences:
|
||||||
{{- toYaml $stack.ignoreDifferences | nindent 8 }}
|
{{- toYaml $stack.ignoreDifferences | nindent 8 }}
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
@@ -1,7 +1,8 @@
|
|||||||
|
cluster:
|
||||||
|
name: cl01tl
|
||||||
git:
|
git:
|
||||||
repo: git@github.com:alexlebens/infrastructure.git
|
repo: git@github.com:alexlebens/infrastructure.git
|
||||||
revision: HEAD
|
revision: HEAD
|
||||||
path: clusters/cl01tl
|
|
||||||
applicationSet:
|
applicationSet:
|
||||||
- name: applications
|
- name: applications
|
||||||
syncPolicy:
|
syncPolicy:
|
||||||
|
Reference in New Issue
Block a user