Skip to content

Commit 9e5d127

Browse files
authored
feat: added support for ocp 4.13 and removed support for 4.9 (#195)
1 parent 935bf04 commit 9e5d127

File tree

5 files changed

+10
-6
lines changed

5 files changed

+10
-6
lines changed

.secrets.baseline

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"files": "go.sum|^.secrets.baseline$",
44
"lines": null
55
},
6-
"generated_at": "2023-06-09T23:33:34Z",
6+
"generated_at": "2023-07-05T10:32:00Z",
77
"plugins_used": [
88
{
99
"name": "AWSKeyDetector"

module-metadata.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -419,11 +419,13 @@
419419
]
420420
},
421421
"null": {
422+
"source": "hashicorp/null",
422423
"version_constraints": [
423424
"\u003e= 3.2.1"
424425
]
425426
},
426427
"time": {
428+
"source": "hashicorp/time",
427429
"version_constraints": [
428430
"\u003e= 0.9.1"
429431
]

tests/pr_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ const standardExampleTerraformDir = "examples/standard"
1919
const yamlLocation = "../common-dev-assets/common-go-assets/common-permanent-resources.yaml"
2020

2121
// Ensure there is one test per supported OCP version
22-
const ocpVersion1 = "4.12"
23-
const ocpVersion2 = "4.11"
24-
const ocpVersion3 = "4.10"
25-
const ocpVersion4 = "4.9"
22+
const ocpVersion1 = "4.13" // used in pr_test
23+
const ocpVersion2 = "4.12" // used in other_test.go
24+
const ocpVersion3 = "4.11" // used in other_test.go
25+
const ocpVersion4 = "4.10" // used in other_test.go
2626

2727
var sharedInfoSvc *cloudinfo.CloudInfoService
2828
var permanentResources map[string]interface{}

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,10 @@ variable "ocp_version" {
108108
condition = anytrue([
109109
var.ocp_version == null,
110110
var.ocp_version == "latest",
111-
var.ocp_version == "4.9",
112111
var.ocp_version == "4.10",
113112
var.ocp_version == "4.11",
114113
var.ocp_version == "4.12",
114+
var.ocp_version == "4.13",
115115
])
116116
error_message = "The specified ocp_version is not of the valid versions."
117117
}

version.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,11 @@ terraform {
77
version = ">= 1.51.0"
88
}
99
null = {
10+
source = "hashicorp/null"
1011
version = ">= 3.2.1"
1112
}
1213
time = {
14+
source = "hashicorp/time"
1315
version = ">= 0.9.1"
1416
}
1517
kubernetes = {

0 commit comments

Comments
 (0)