Skip to content

Commit 08e2132

Browse files
committed
Update image in code to 0.9.40
The version in the chart is already the latest, however there is a fallback version in the code that can be updated. That's what's happening here. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent ad66306 commit 08e2132

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

image_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func Test_GetInletsReleaseDefault(t *testing.T) {
1313

1414
got := c.GetInletsRelease()
1515

16-
want := "0.9.31"
16+
want := "0.9.40"
1717
if got != want {
1818
t.Fatalf("want %s, but got %s", want, got)
1919
}
@@ -24,14 +24,14 @@ func Test_GetInletsReleaseOverride(t *testing.T) {
2424
c := InfraConfig{
2525
ProConfig: InletsProConfig{
2626
License: "non-empty",
27-
InletsRelease: "0.9.31",
27+
InletsRelease: "0.9.40",
2828
},
2929
AccessKey: "key",
3030
}
3131

3232
got := c.GetInletsRelease()
3333

34-
want := "0.9.31"
34+
want := "0.9.40"
3535

3636
if got != want {
3737
t.Fatalf("want %s, but got %s", want, got)
@@ -48,7 +48,7 @@ func Test_InletsClientImageDefault(t *testing.T) {
4848
}
4949

5050
got := c.GetInletsClientImage()
51-
want := "ghcr.io/inlets/inlets-pro:0.9.31"
51+
want := "ghcr.io/inlets/inlets-pro:0.9.40"
5252
if got != want {
5353
t.Fatalf("want %s, but got %s", want, got)
5454
}
@@ -59,13 +59,13 @@ func Test_InletsClientImageOverride(t *testing.T) {
5959
c := InfraConfig{
6060
ProConfig: InletsProConfig{
6161
License: "non-empty",
62-
ClientImage: "alexellis2/inlets-pro:0.9.5",
62+
ClientImage: "alexellis2/inlets-pro:0.9.40",
6363
},
6464
AccessKey: "key",
6565
}
6666

6767
got := c.GetInletsClientImage()
68-
want := "alexellis2/inlets-pro:0.9.5"
68+
want := "alexellis2/inlets-pro:0.9.40"
6969
if got != want {
7070

7171
t.Fatalf("want %s, but got %s", want, got)

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func init() {
3838
flag.StringVar(&masterURL, "master", "", "The address of the Kubernetes API server. Overrides any value in kubeconfig. Only required if out-of-cluster.")
3939
}
4040

41-
const defaultRelease = "0.9.31"
41+
const defaultRelease = "0.9.40"
4242

4343
func main() {
4444
infra := &InfraConfig{

0 commit comments

Comments
 (0)