Skip to content

Commit bf42a1b

Browse files
fix add-cluster for helm runtime (#686)
* fix add-cluster for helm runtime * bump
1 parent 88d88ac commit bf42a1b

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.40
1+
VERSION=v0.1.41
22

33
OUT_DIR=dist
44
YEAR?=$(shell date +"%Y")

cmd/commands/runtime.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@ func getRuntimeNamespace(cmd *cobra.Command, runtimeName string, runtimeVersion
11681168
hasdifferentNamespaceSupport := runtimeVersion.GreaterThan(differentNamespaceSupportVer)
11691169

11701170
if !hasdifferentNamespaceSupport {
1171-
log.G().Infof("To specify a different namespace please use runtime version >= %s", differentNamespaceSupportVer.String())
1171+
log.G().Infof("To specify a different namespace please use runtime version > %s", differentNamespaceSupportVer.String())
11721172
_ = cmd.Flag("namespace").Value.Set("")
11731173
return namespace
11741174
}

cmd/commands/runtime_install.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ func createRuntimeOnPlatform(ctx context.Context, opts *RuntimeInstallOptions, r
606606
repoURL := opts.InsCloneOpts.URL()
607607
runtimeArgs := &platmodel.RuntimeInstallationArgs{
608608
RuntimeName: opts.RuntimeName,
609-
RuntimeNamespace: opts.RuntimeNamespace,
609+
RuntimeNamespace: &opts.RuntimeNamespace,
610610
Cluster: rt.Spec.Cluster,
611611
Managed: new(bool),
612612
RuntimeVersion: rt.Spec.Version.String(),

docs/releases/release_notes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ cf version
2323

2424
```bash
2525
# download and extract the binary
26-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.40/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.41/cf-linux-amd64.tar.gz | tar zx
2727

2828
# move the binary to your $PATH
2929
mv ./cf-linux-amd64 /usr/local/bin/cf
@@ -36,7 +36,7 @@ cf version
3636

3737
```bash
3838
# download and extract the binary
39-
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.40/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.41/cf-darwin-amd64.tar.gz | tar zx
4040

4141
# move the binary to your $PATH
4242
mv ./cf-darwin-amd64 /usr/local/bin/cf

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ require (
99
github.com/argoproj/argo-events v0.17.1-0.20220327045437-70eaafe9afec
1010
github.com/argoproj/argo-workflows/v3 v3.3.1
1111
github.com/briandowns/spinner v1.18.1
12-
github.com/codefresh-io/go-sdk v0.52.0
12+
github.com/codefresh-io/go-sdk v0.54.0
1313
github.com/fatih/color v1.13.0
1414
github.com/ghodss/yaml v1.0.1-0.20190212211648-25d852aebe32
1515
github.com/go-git/go-billy/v5 v5.3.1

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -301,8 +301,8 @@ github.com/cockroachdb/datadriven v0.0.0-20200714090401-bf6692d28da5/go.mod h1:h
301301
github.com/cockroachdb/errors v1.2.4/go.mod h1:rQD95gz6FARkaKkQXUksEje/d9a6wBJoCr5oaCLELYA=
302302
github.com/cockroachdb/logtags v0.0.0-20190617123548-eb05cc24525f/go.mod h1:i/u985jwjWRlyHXQbwatDASoW0RMlZ/3i9yJHE2xLkI=
303303
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd/go.mod h1:sE/e/2PUdi/liOCUjSTXgM1o87ZssimdTWN964YiIeI=
304-
github.com/codefresh-io/go-sdk v0.52.0 h1:s+O87OebisNiDOEsh3qSAB8gDJ+Sc6WmBOh8AaFlm/o=
305-
github.com/codefresh-io/go-sdk v0.52.0/go.mod h1:CcoVmTFWHGkbrSW8LyOGB/vJe5Vzr3iC/pNE2QIBTyg=
304+
github.com/codefresh-io/go-sdk v0.54.0 h1:C1A2kTNXZqpvAkpAbZn8D9clr67nJRtdeFPd4QFIEWU=
305+
github.com/codefresh-io/go-sdk v0.54.0/go.mod h1:CcoVmTFWHGkbrSW8LyOGB/vJe5Vzr3iC/pNE2QIBTyg=
306306
github.com/codegangsta/inject v0.0.0-20150114235600-33e0aa1cb7c0/go.mod h1:4Zcjuz89kmFXt9morQgcfYZAYZ5n8WHjt81YYWIwtTM=
307307
github.com/codeskyblue/go-sh v0.0.0-20190412065543-76bd3d59ff27/go.mod h1:VQx0hjo2oUeQkQUET7wRwradO6f+fN5jzXgB/zROxxE=
308308
github.com/container-storage-interface/spec v1.5.0/go.mod h1:8K96oQNkJ7pFcC2R9Z1ynGGBB1I93kcS6PGg3SsOk8s=

0 commit comments

Comments
 (0)