Files
example-apps/applicationset/appset-any-ns-team-platform.yaml
zeekay cded7148d1 Example applications for Hanzo CD
Manifests the docs and the end-to-end suite deploy against: plain, kustomize,
helm and jsonnet variants, plus application sets and sync ordering.
2026-09-04 23:49:48 -07:00

31 lines
779 B
YAML

apiVersion: cd.hanzo.ai/v1alpha1
kind: ApplicationSet
metadata:
name: services
namespace: team-platform
spec:
generators:
- list:
elements:
- service: api
- service: worker
template:
metadata:
name: '{{service}}'
# Generated Applications will be in team-platform namespace (same as ApplicationSet)
spec:
project: team-platform
source:
repoURL: https://github.com/hanzocd/cd-example-apps
targetRevision: HEAD
path: lightweight/app-b
destination:
server: https://kubernetes.default.svc
namespace: 'team-platform-{{service}}'
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true