Skip to content

Commit 38633ba

Browse files
Fix from repo installation with tunnel-based access mode (#677)
1 parent f22a1bd commit 38633ba

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
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.34
1+
VERSION=v0.1.35
22

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

cmd/commands/common.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ import (
3535
"github.com/codefresh-io/cli-v2/pkg/store"
3636
"github.com/codefresh-io/cli-v2/pkg/util"
3737
apu "github.com/codefresh-io/cli-v2/pkg/util/aputil"
38+
routingutil "github.com/codefresh-io/cli-v2/pkg/util/routing"
3839
"github.com/codefresh-io/cli-v2/pkg/util/kube"
3940

4041
"github.com/argoproj-labs/argocd-autopilot/pkg/fs"
@@ -447,6 +448,7 @@ func ensureAccessMode(ctx context.Context, opts *RuntimeInstallOptions) error {
447448

448449
opts.TunnelSubdomain = fmt.Sprintf("%s-%s", accountId, opts.RuntimeName)
449450
opts.IngressHost = fmt.Sprintf("https://%s.%s", opts.TunnelSubdomain, opts.TunnelDomain)
451+
opts.IngressController = routingutil.GetIngressController("")
450452
} else {
451453
err := ensureRoutingControllerSupported(ctx, opts)
452454
handleCliStep(reporter.InstallStepPreCheckEnsureIngressClass, "Getting ingress class", err, true, false)

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.34/cf-linux-amd64.tar.gz | tar zx
26+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.35/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.34/cf-darwin-amd64.tar.gz | tar zx
39+
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.35/cf-darwin-amd64.tar.gz | tar zx
4040

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

0 commit comments

Comments
 (0)