From 9c6cc413f4ee9ad45a6ffafdb051ff44130a60b8 Mon Sep 17 00:00:00 2001 From: douzeb Date: Mon, 19 Dec 2022 22:43:40 +0100 Subject: [PATCH] ApplicationSet is working now --- deploy.sh | 3 +++ deploy/applicationset.yaml | 5 +++-- 2 files changed, 6 insertions(+), 2 deletions(-) create mode 100644 deploy.sh diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..8606367 --- /dev/null +++ b/deploy.sh @@ -0,0 +1,3 @@ +#!/bin/bash +kubectl apply -n argocd -f deploy/applicationset.yaml + diff --git a/deploy/applicationset.yaml b/deploy/applicationset.yaml index 9d38fd1..03beb4c 100644 --- a/deploy/applicationset.yaml +++ b/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}}'