c12s-application-set/deploy/applicationset.yaml

40 lines
811 B
YAML
Raw Normal View History

2022-12-18 23:36:54 +00:00
---
apiVersion: v1
kind: Namespace
metadata:
name: infra
labels:
app: infra
---
apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
2022-12-19 13:38:22 +00:00
name: le-distrilab
2022-12-19 21:43:40 +00:00
namespace: argocd
2022-12-18 23:36:54 +00:00
spec:
generators:
- list:
elements:
- app: c12s
2022-12-18 23:36:54 +00:00
overlay: prod
2022-12-21 20:42:51 +00:00
# - app: argocd
# overlay: prod
- app: k8s-poc-demo
2022-12-21 04:54:54 +00:00
overlay: prod
- app: k8s-poc-demo
overlay: test
- app: external-svc
overlay: tdc-aren
2022-12-18 23:36:54 +00:00
template:
metadata:
name: '{{app}}-{{overlay}}'
spec:
project: default
source:
2022-12-21 18:56:43 +00:00
repoURL: https://git.distrilab.fr/C12s/c12s-application-set.git
2022-12-18 23:36:54 +00:00
targetRevision: HEAD
path: deploy/{{app}}/{{overlay}}
destination:
server: https://kubernetes.default.svc
namespace: infra