From 52c8173f5610e83836b661d7472c0fe3ff22f70f Mon Sep 17 00:00:00 2001 From: Mathieu LAUDE Date: Tue, 27 Jan 2026 13:58:51 +0100 Subject: [PATCH] fix: upgrade to dso-ns chart version 1.1.5 to use project slug in Vault secret path --- plugins/argocd/src/functions.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/plugins/argocd/src/functions.ts b/plugins/argocd/src/functions.ts index 98d8a00d4..1b08f2f8a 100644 --- a/plugins/argocd/src/functions.ts +++ b/plugins/argocd/src/functions.ts @@ -23,6 +23,9 @@ function splitExtraRepositories(repos?: string): string[] { : [] } +const DSO_NS_CHART_VERSION = process.env.DSO_NS_CHART_VERSION ?? 'dso-ns-1.1.5' +const DSO_ENV_CHART_VERSION = process.env.DSO_ENV_CHART_VERSION ?? 'dso-env-1.6.0' + const getValueFilePath = (p: Project, c: ClusterObject, e: Environment): string => `${p.name}/${c.label}/${e.name}/values.yaml` export const upsertProject: StepCall = async (payload) => { @@ -213,8 +216,8 @@ async function ensureInfraEnvValues(project: Project, environment: Environment, cluster: inClusterLabel, namespace: getConfig().namespace, project: appProjectName, - envChartVersion: process.env.DSO_ENV_CHART_VERSION ?? 'dso-env-1.6.0', - nsChartVersion: process.env.DSO_NS_CHART_VERSION ?? 'dso-ns-1.1.4', + envChartVersion: DSO_ENV_CHART_VERSION, + nsChartVersion: DSO_NS_CHART_VERSION, }, environment: { valueFileRepository: infraProject.http_url_to_repo,