ApplicationSet is working now

This commit is contained in:
douzeb 2022-12-19 22:43:40 +01:00
parent c3977d8c1d
commit 9c6cc413f4
2 changed files with 6 additions and 2 deletions

3
deploy.sh Normal file
View file

@ -0,0 +1,3 @@
#!/bin/bash
kubectl apply -n argocd -f deploy/applicationset.yaml

View file

@ -10,14 +10,15 @@ apiVersion: argoproj.io/v1alpha1
kind: ApplicationSet
metadata:
name: le-distrilab
namespace: argocd
spec:
generators:
- list:
elements:
- app: k8s-poc-demo
overlay: prod
# - app: argocd
# overlay: prod
- app: argocd
overlay: prod
template:
metadata:
name: '{{app}}-{{overlay}}'