First commit
This commit is contained in:
commit
b29965ba7d
33
cluster-1.yaml
Normal file
33
cluster-1.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: helm-releases
|
||||
namespace: argo-system
|
||||
spec:
|
||||
syncPolicy:
|
||||
preserveResourcesOnDeletion: true
|
||||
generators:
|
||||
- git:
|
||||
repoURL: git@git.badhouseplants.net:allanger/helmfile-vs-argo.git
|
||||
revision: argo-aplicationset
|
||||
files:
|
||||
- path: "cluster1/*"
|
||||
template:
|
||||
metadata:
|
||||
name: "{{ argo.application }}"
|
||||
namespace: argo-system
|
||||
spec:
|
||||
project: "{{ argo.project }}"
|
||||
source:
|
||||
path: "{{ argo.path }}"
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
values: |-
|
||||
{{ values }}
|
||||
repoURL: "{{ chart.repo }}"
|
||||
targetRevision: "{{ chart.version }}"
|
||||
chart: "{{ chart.name }}"
|
||||
destination:
|
||||
server: "{{ argo.cluster }}"
|
||||
namespace: "{{ argo.namespace }}"
|
33
cluster-2.yaml
Normal file
33
cluster-2.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: helm-releases
|
||||
namespace: argo-system
|
||||
spec:
|
||||
syncPolicy:
|
||||
preserveResourcesOnDeletion: true
|
||||
generators:
|
||||
- git:
|
||||
repoURL: git@git.badhouseplants.net:allanger/helmfile-vs-argo.git
|
||||
revision: argo-aplicationset
|
||||
files:
|
||||
- path: "cluster2/*"
|
||||
template:
|
||||
metadata:
|
||||
name: "{{ argo.application }}"
|
||||
namespace: argo-system
|
||||
spec:
|
||||
project: "{{ argo.project }}"
|
||||
source:
|
||||
path: "{{ argo.path }}"
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
values: |-
|
||||
{{ values }}
|
||||
repoURL: "{{ chart.repo }}"
|
||||
targetRevision: "{{ chart.version }}"
|
||||
chart: "{{ chart.name }}"
|
||||
destination:
|
||||
server: "{{ argo.cluster }}"
|
||||
namespace: "{{ argo.namespace }}"
|
33
cluster-test.yaml
Normal file
33
cluster-test.yaml
Normal file
|
@ -0,0 +1,33 @@
|
|||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: helm-releases
|
||||
namespace: argo-system
|
||||
spec:
|
||||
syncPolicy:
|
||||
preserveResourcesOnDeletion: true
|
||||
generators:
|
||||
- git:
|
||||
repoURL: git@git.badhouseplants.net:allanger/helmfile-vs-argo.git
|
||||
revision: argo-aplicationset
|
||||
files:
|
||||
- path: "cluster_test/*"
|
||||
template:
|
||||
metadata:
|
||||
name: "{{ argo.application }}"
|
||||
namespace: argo-system
|
||||
spec:
|
||||
project: "{{ argo.project }}"
|
||||
source:
|
||||
path: "{{ argo.path }}"
|
||||
helm:
|
||||
valueFiles:
|
||||
- values.yaml
|
||||
values: |-
|
||||
{{ values }}
|
||||
repoURL: "{{ chart.repo }}"
|
||||
targetRevision: "{{ chart.version }}"
|
||||
chart: "{{ chart.name }}"
|
||||
destination:
|
||||
server: "{{ argo.cluster }}"
|
||||
namespace: "{{ argo.namespace }}"
|
Reference in New Issue
Block a user