ApplicationSet is working now
This commit is contained in:
parent
c3977d8c1d
commit
9c6cc413f4
2 changed files with 6 additions and 2 deletions
3
deploy.sh
Normal file
3
deploy.sh
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
kubectl apply -n argocd -f deploy/applicationset.yaml
|
||||||
|
|
|
@ -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}}'
|
||||||
|
|
Loading…
Reference in a new issue