mirror of
https://github.com/open-cluster-management-io/ocm.git
synced 2026-02-14 18:09:57 +00:00
Some checks failed
Scorecard supply-chain security / Scorecard analysis (push) Failing after 3m20s
Post / coverage (push) Failing after 26m0s
Post / images (amd64) (push) Failing after 3m12s
Post / images (arm64) (push) Failing after 3m9s
Post / image manifest (push) Has been skipped
Post / trigger clusteradm e2e (push) Has been skipped
Close stale issues and PRs / stale (push) Successful in 54s
Signed-off-by: Mike Ng <ming@redhat.com>
37 lines
1.1 KiB
YAML
37 lines
1.1 KiB
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: nested-apps-app-set
|
|
namespace: argocd
|
|
spec:
|
|
generators:
|
|
- clusterDecisionResource:
|
|
configMapRef: ocm-placement-generator
|
|
labelSelector:
|
|
matchLabels:
|
|
cluster.open-cluster-management.io/placement: app-placement
|
|
requeueAfterSeconds: 30
|
|
template:
|
|
metadata:
|
|
name: '{{name}}-nested-apps'
|
|
labels:
|
|
apps.open-cluster-management.io/pull-to-ocm-managed-cluster: 'true'
|
|
annotations:
|
|
argocd.argoproj.io/skip-reconcile: 'true'
|
|
apps.open-cluster-management.io/ocm-managed-cluster: '{{name}}'
|
|
apps.open-cluster-management.io/ocm-managed-cluster-app-namespace: argocd
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: 'https://github.com/argoproj/argocd-example-apps.git'
|
|
targetRevision: HEAD
|
|
path: apps
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: argocd
|
|
syncPolicy:
|
|
automated:
|
|
prune: true
|
|
syncOptions:
|
|
- CreateNamespace=true
|