Initial commit from kro/examples/aws/eks-cluster-mgmt
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: ApplicationSet
|
||||
metadata:
|
||||
name: bootstrap
|
||||
namespace: argocd
|
||||
spec:
|
||||
goTemplate: true
|
||||
syncPolicy:
|
||||
preserveResourcesOnDeletion: false # to be able to cleanup
|
||||
generators:
|
||||
- clusters:
|
||||
selector:
|
||||
matchLabels:
|
||||
fleet_member: control-plane
|
||||
template:
|
||||
metadata:
|
||||
name: bootstrap
|
||||
spec:
|
||||
project: default
|
||||
source:
|
||||
repoURL: '{{.metadata.annotations.fleet_repo_url}}'
|
||||
path: '{{.metadata.annotations.fleet_repo_basepath}}{{.metadata.annotations.fleet_repo_path}}'
|
||||
targetRevision: '{{.metadata.annotations.fleet_repo_revision}}'
|
||||
directory:
|
||||
recurse: false
|
||||
exclude: exclude/*
|
||||
destination:
|
||||
namespace: 'argocd'
|
||||
name: '{{.name}}'
|
||||
syncPolicy:
|
||||
automated: {}
|
||||
Reference in New Issue
Block a user