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 kind: ApplicationSet
metadata: metadata:
name: le-distrilab name: le-distrilab
namespace: argocd
spec: spec:
generators: generators:
- list: - list:
elements: elements:
- app: k8s-poc-demo - app: k8s-poc-demo
overlay: prod overlay: prod
# - app: argocd - app: argocd
# overlay: prod overlay: prod
template: template:
metadata: metadata:
name: '{{app}}-{{overlay}}' name: '{{app}}-{{overlay}}'