From 5da4584e1064ba4986fff76afc6b658e12df6fc9 Mon Sep 17 00:00:00 2001 From: tarteo Date: Thu, 9 Jan 2025 15:15:30 +0100 Subject: [PATCH] [UPD] Default application set --- argocd_deployer/data/application_set_template.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/argocd_deployer/data/application_set_template.xml b/argocd_deployer/data/application_set_template.xml index 1dcfbee..2034a21 100644 --- a/argocd_deployer/data/application_set_template.xml +++ b/argocd_deployer/data/application_set_template.xml @@ -50,8 +50,8 @@ spec: - git: repoURL: {{.application_set.repository_url}} revision: {{.application_set.branch}} - files: - - path: {{.application_set.deployment_directory}}/**/config.yaml + directories: + - path: {{.application_set.deployment_directory}}/* template: metadata: name: "{{.application_set.namespace_prefix}}{{ .path.basename }}" @@ -64,8 +64,8 @@ spec: targetRevision: {{.application_set.branch}} path: app helm: - values: | - {{ .helm }} + valueFiles: + - "../{{.application_set.deployment_directory}}/{{ .path.basename }}/config.yaml" destination: name: in-cluster namespace: "{{.application_set.namespace_prefix}}{{ .path.basename }}"