From b7edbf3e11da8a40185be2e4df7fb681709e4021 Mon Sep 17 00:00:00 2001 From: Marc Boorshtein Date: Tue, 8 Oct 2024 14:11:23 -0400 Subject: [PATCH] cert versioning hard coded to operator --- openunison/deployer.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openunison/deployer.go b/openunison/deployer.go index 0d4271c..2944987 100644 --- a/openunison/deployer.go +++ b/openunison/deployer.go @@ -1364,8 +1364,8 @@ func (ou *OpenUnisonDeployment) locateChart(configChartName string, chartPathOpt chartName := configChartName chartVersion := "" if strings.Contains(configChartName, "@") { - chartName = ou.operator.chart[0:strings.Index(ou.operator.chart, "@")] - chartVersion = ou.operator.chart[strings.Index(ou.operator.chart, "@")+1:] + chartName = configChartName[0:strings.Index(configChartName, "@")] + chartVersion = configChartName[strings.Index(configChartName, "@")+1:] fmt.Printf("Chart version specified for %s: %s\n", chartName, chartVersion)