Skip to content

Commit c59f479

Browse files
yuval-ksoloio-bulldozer[bot]
authored andcommitted
allow non default kubeconfig (#182)
* allo non default kubeconfig * issue link
1 parent 5b1d3d5 commit c59f479

File tree

5 files changed

+325
-1311
lines changed

5 files changed

+325
-1311
lines changed

changelog/v0.5.10/kubeconfig.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
changelog:
2+
- type: NEW_FEATURE
3+
description: Allow using a custom kubeconfig
4+
issueLink: https://github.com/solo-io/squash/issues/182

ci/internal/extconfig/dev.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import (
66
"fmt"
77
"io"
88
"net/http"
9+
"strings"
910

1011
"github.com/solo-io/go-utils/contextutils"
1112
)
@@ -17,7 +18,7 @@ func MustCreateDevResources(ctx context.Context, version string) {
1718
Win32: MustDownloadSha(ctx, version, osShaIdWin32),
1819
}
1920
squashSpec := SquashSpec{
20-
Version: version,
21+
Version: strings.TrimPrefix(version, "v"),
2122
BaseName: extensionBaseName,
2223
Binaries: bins,
2324
}

0 commit comments

Comments
 (0)