From 0988af703902ea55244ed6c38ec42d92ae16a14c Mon Sep 17 00:00:00 2001 From: oren-codefresh Date: Thu, 18 Jun 2020 09:33:46 +0300 Subject: [PATCH] fix attach when context contains column (#154) --- package.json | 2 +- venonactl/VERSION | 2 +- venonactl/pkg/plugins/runtime-attach.go | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1ed7b747..68fcdaee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "venona", - "version": "1.3.6", + "version": "1.3.7", "description": "Codefresh agent to run on Codefresh's runtime environment and execute pipeline", "main": "index.js", diff --git a/venonactl/VERSION b/venonactl/VERSION index 95b25aee..3336003d 100644 --- a/venonactl/VERSION +++ b/venonactl/VERSION @@ -1 +1 @@ -1.3.6 +1.3.7 diff --git a/venonactl/pkg/plugins/runtime-attach.go b/venonactl/pkg/plugins/runtime-attach.go index 9dc986c9..c8248b75 100644 --- a/venonactl/pkg/plugins/runtime-attach.go +++ b/venonactl/pkg/plugins/runtime-attach.go @@ -129,6 +129,7 @@ func (u *runtimeAttachPlugin) Install(opt *InstallOptions, v Values) (Values, er // normalize the key in the secret to make sure we are not violating kube naming conventions name := strings.ReplaceAll(opt.RuntimeEnvironment, "/", ".") name = strings.ReplaceAll(name, "@", ".") + name = strings.ReplaceAll(name, ":", ".") currentVenonaConf.Runtimes[fmt.Sprintf("%s.runtime.yaml", name)] = rc runtimes := map[string]string{} for name, runtime := range currentVenonaConf.Runtimes {