This repository was archived by the owner on Nov 14, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +17
-2
lines changed
internal/checks/kubernetes Expand file tree Collapse file tree 2 files changed +17
-2
lines changed Original file line number Diff line number Diff line change 5
5
require (
6
6
cdr.dev/slog v1.4.1
7
7
github.com/Masterminds/semver/v3 v3.1.1
8
- github.com/davecgh/go-spew v1.1.1
9
8
github.com/spf13/cobra v1.2.1
10
9
k8s.io/apimachinery v0.19.13
11
10
k8s.io/client-go v0.19.13
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ func TestVersions(t *testing.T) {
42
42
ExpectedResult : & api.CheckResult {
43
43
Name : "kubernetes-version" ,
44
44
State : api .StatePassed ,
45
- Summary : "" ,
45
+ Summary : "Coder 1.21.0 supports Kubernetes 1.19.0 to 1.22.0 (server version 1.20.8-gke.900) " ,
46
46
Details : map [string ]interface {}{
47
47
"build-date" : "2021-06-30T09:23:36Z" ,
48
48
"compiler" : "gc" ,
@@ -70,6 +70,22 @@ func TestVersions(t *testing.T) {
70
70
Compiler : "gc" ,
71
71
Platform : "linux/amd64" ,
72
72
},
73
+ ExpectedResult : & api.CheckResult {
74
+ Name : "kubernetes-version" ,
75
+ State : 2 ,
76
+ Summary : "Coder 1.21.0 supports Kubernetes 1.19.0 to 1.22.0 and was not tested with 1.18.20-gke.900" ,
77
+ Details : map [string ]interface {}{
78
+ "build-date" : "2021-06-28T09:19:58Z" ,
79
+ "compiler" : "gc" ,
80
+ "git-commit" : "1facb91642e16cb4f5be4e4a632c488aa4700382" ,
81
+ "git-tree-state" : "clean" ,
82
+ "git-version" : "v1.18.20-gke.900" ,
83
+ "go-version" : "go1.13.15b4" ,
84
+ "major" : "1" ,
85
+ "minor" : "18+" ,
86
+ "platform" : "linux/amd64" ,
87
+ },
88
+ },
73
89
},
74
90
}
75
91
You can’t perform that action at this time.
0 commit comments