c12s-application-set/deploy/applicationset.yaml
2022-12-21 05:54:54 +01:00

37 lines
760 B
YAML

---
apiVersion: v1
kind: Namespace
metadata:
name: infra
labels:
app: infra
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: le-distrilab
namespace: argocd
spec:
generators:
- list:
elements:
- app: k8s-poc-demo
overlay: prod
- app: k8s-poc-demo
overlay: test
- app: argocd
overlay: prod
- app: c12s
overlay: prod
template:
metadata:
name: '{{app}}-{{overlay}}'
spec:
project: default
source:
repoURL: https://git.distrilab.fr/douzeb/distrilab-app-of-apps.git
targetRevision: HEAD
path: deploy/{{app}}/{{overlay}}
destination:
server: https://kubernetes.default.svc
namespace: infra