Files
example-apps/applicationset/appset-any-ns-invalid.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

29 lines
744 B
YAML

apiVersion: cd.hanzo.ai/v1alpha1
kind: ApplicationSet
metadata:
name: invalid
namespace: team-platform
spec:
generators:
- list:
elements:
- service: invalid
template:
metadata:
name: '{{service}}'
spec:
project: team-backend # This example tries to generate an Application to a namespace that is not allowed
source:
repoURL: https://github.com/hanzocd/cd-example-apps
targetRevision: HEAD
path: lightweight/app-b
destination:
server: https://kubernetes.default.svc
namespace: 'team-backend-{{service}}'
syncPolicy:
syncOptions:
- CreateNamespace=true
automated:
prune: true
selfHeal: true