mirror of
https://github.com/hanzocd/example-apps.git
synced 2026-10-30 20:50:47 +00:00
Manifests the docs and the end-to-end suite deploy against: plain, kustomize, helm and jsonnet variants, plus application sets and sync ordering.
29 lines
744 B
YAML
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
|