openmetadata applicationset
This commit is contained in:
@@ -0,0 +1,51 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: "{{ .Name }}"
|
||||
namespace: "{{ .Namespace }}"
|
||||
spec:
|
||||
generators:
|
||||
- list:
|
||||
elements:
|
||||
- name: openmetadata-dependencies
|
||||
chartPath: manifests/helm/openmetadata-dependencies/1.12.1
|
||||
valuesPath: "{{ .Name }}/openmetadata-dependencies-values.yaml"
|
||||
syncWave: "0"
|
||||
- name: openmetadata
|
||||
chartPath: manifests/helm/openmetadata/1.12.1
|
||||
valuesPath: "{{ .Name }}/openmetadata-values.yaml"
|
||||
syncWave: "1"
|
||||
template:
|
||||
metadata:
|
||||
name: "{{name}}"
|
||||
namespace: "{{ .Namespace }}"
|
||||
annotations:
|
||||
argocd.argoproj.io/sync-wave: "{{syncWave}}"
|
||||
spec:
|
||||
project: default
|
||||
sources:
|
||||
- repoURL: "{{ .RepoCatalogUrl }}"
|
||||
targetRevision: main
|
||||
path: "{{chartPath}}"
|
||||
helm:
|
||||
valueFiles:
|
||||
- $values/{{valuesPath}}
|
||||
- repoURL: "{{ .RepoTenantUrl }}"
|
||||
targetRevision: "{{ .Branch }}"
|
||||
ref: values
|
||||
destination:
|
||||
server: "{{ .ClusterUrl }}"
|
||||
namespace: "{{ .Namespace }}"
|
||||
syncPolicy:
|
||||
automated:
|
||||
prune: true
|
||||
selfHeal: false
|
||||
syncOptions:
|
||||
- CreateNamespace=false
|
||||
- ServerSideApply=true
|
||||
retry:
|
||||
limit: 5
|
||||
backoff:
|
||||
duration: 10s
|
||||
factor: 2
|
||||
maxDuration: 3m
|
||||
Reference in New Issue
Block a user