Skip to content

Commit

Permalink
Add Support for RHOCP 4.14
Browse files Browse the repository at this point in the history
  • Loading branch information
vikasmulaje authored and komish committed Oct 31, 2023
1 parent 4c2fb29 commit 557caf3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions internal/tool/kubeOpenShiftVersionMap.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
- kube-version: "1.27"
ocp-version: "4.14"
- kube-version: "1.26"
ocp-version: "4.13"
- kube-version: "1.25"
Expand Down
8 changes: 7 additions & 1 deletion internal/tool/kubectl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,12 @@ var output126 = version.Info{
Minor: "26",
}

var latestVersion = output126
var output127 = version.Info{
Major: "1",
Minor: "27",
}

var latestVersion = output127

var testsData []testData

Expand All @@ -68,6 +73,7 @@ func TestOCVersions(t *testing.T) {
testsData = append(testsData, testData{getVersionOut: output124, OCVersion: "4.11"})
testsData = append(testsData, testData{getVersionOut: output125, OCVersion: "4.12"})
testsData = append(testsData, testData{getVersionOut: output126, OCVersion: "4.13"})
testsData = append(testsData, testData{getVersionOut: output127, OCVersion: "4.14"})

for _, testdata := range testsData {
clientset := fake.NewSimpleClientset()
Expand Down

0 comments on commit 557caf3

Please sign in to comment.