From 306bd2fac010fb0862d705398523eb4c346a2fdb Mon Sep 17 00:00:00 2001 From: German Lashevich Date: Fri, 27 Dec 2024 16:03:39 +0100 Subject: [PATCH] fix: skip ArgoCD Application plugin if not set --- internal/myks/templates/argocd/application.ytt.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/myks/templates/argocd/application.ytt.yaml b/internal/myks/templates/argocd/application.ytt.yaml index 940ef473..d3e188d6 100644 --- a/internal/myks/templates/argocd/application.ytt.yaml +++ b/internal/myks/templates/argocd/application.ytt.yaml @@ -25,6 +25,7 @@ spec: namespace: #@ a.app.destination.namespace or a.app.name source: path: #@ a.app.source.path + #@ if/end a.app.source.plugin: plugin: #@ a.app.source.plugin repoURL: #@ a.app.source.repoURL targetRevision: #@ a.app.source.targetRevision