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
|
||||
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}}'
|
||||
|
|
Loading…
Reference in a new issue