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.
30 lines
659 B
YAML
30 lines
659 B
YAML
apiVersion: cd.hanzo.ai/v1alpha1
|
|
kind: ApplicationSet
|
|
metadata:
|
|
name: list
|
|
namespace: cd
|
|
spec:
|
|
generators:
|
|
- list:
|
|
elements:
|
|
- env: dev
|
|
- env: prod
|
|
template:
|
|
metadata:
|
|
name: 'appset-list-{{env}}'
|
|
spec:
|
|
project: default
|
|
source:
|
|
repoURL: https://github.com/hanzocd/cd-example-apps
|
|
targetRevision: HEAD
|
|
path: lightweight/app-a
|
|
destination:
|
|
server: https://kubernetes.default.svc
|
|
namespace: 'appset-list-{{env}}'
|
|
syncPolicy:
|
|
syncOptions:
|
|
- CreateNamespace=true
|
|
automated:
|
|
prune: true
|
|
selfHeal: true
|