Skip to content

Commit

Permalink
Fix from repo installation with tunnel-based access mode (#677)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielm-codefresh authored Feb 27, 2023
1 parent f22a1bd commit 38633ba
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=v0.1.34
VERSION=v0.1.35

OUT_DIR=dist
YEAR?=$(shell date +"%Y")
Expand Down
2 changes: 2 additions & 0 deletions cmd/commands/common.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ import (
"github.com/codefresh-io/cli-v2/pkg/store"
"github.com/codefresh-io/cli-v2/pkg/util"
apu "github.com/codefresh-io/cli-v2/pkg/util/aputil"
routingutil "github.com/codefresh-io/cli-v2/pkg/util/routing"
"github.com/codefresh-io/cli-v2/pkg/util/kube"

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

opts.TunnelSubdomain = fmt.Sprintf("%s-%s", accountId, opts.RuntimeName)
opts.IngressHost = fmt.Sprintf("https://%s.%s", opts.TunnelSubdomain, opts.TunnelDomain)
opts.IngressController = routingutil.GetIngressController("")
} else {
err := ensureRoutingControllerSupported(ctx, opts)
handleCliStep(reporter.InstallStepPreCheckEnsureIngressClass, "Getting ingress class", err, true, false)
Expand Down
4 changes: 2 additions & 2 deletions docs/releases/release_notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cf version

```bash
# download and extract the binary
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.34/cf-linux-amd64.tar.gz | tar zx
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.35/cf-linux-amd64.tar.gz | tar zx

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

```bash
# download and extract the binary
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.34/cf-darwin-amd64.tar.gz | tar zx
curl -L --output - https://github.com/codefresh-io/cli-v2/releases/download/v0.1.35/cf-darwin-amd64.tar.gz | tar zx

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

0 comments on commit 38633ba

Please sign in to comment.