Skip to content
This repository was archived by the owner on Aug 12, 2024. It is now read-only.

Commit dd3d32b

Browse files
author
Sean Sundberg
committed
Adds support for OCP 4.9 and sets as default
- Adds configuration for OCP 4.9 clusters - closes #52 Signed-off-by: Sean Sundberg <[email protected]>
1 parent 69835ec commit dd3d32b

File tree

6 files changed

+9
-14
lines changed

6 files changed

+9
-14
lines changed

.github/workflows/verify-pr.yaml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,3 @@ jobs:
1616

1717
verifyMetadata:
1818
uses: cloud-native-toolkit/action-workflows/.github/workflows/verify-module-metadata.yaml@v1
19-
20-
securityScan:
21-
uses: cloud-native-toolkit/action-workflows/.github/workflows/gitguardian-scan.yaml@v1
22-
secrets:
23-
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}

.github/workflows/verify.yaml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,8 @@ jobs:
1717
verifyMetadata:
1818
uses: cloud-native-toolkit/action-workflows/.github/workflows/verify-module-metadata.yaml@v1
1919

20-
securityScan:
21-
uses: cloud-native-toolkit/action-workflows/.github/workflows/gitguardian-scan.yaml@v1
22-
secrets:
23-
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }}
24-
2520
release:
26-
needs: [verify, verifyMetadata, securityScan]
21+
needs: [verify, verifyMetadata]
2722
uses: cloud-native-toolkit/action-workflows/.github/workflows/release-module.yaml@v1
2823
secrets:
2924
TOKEN: ${{ secrets.TOKEN }}

main.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,11 @@ locals {
2626
type_code = "ocp4"
2727
version = "4.8"
2828
}
29+
4.9 = {
30+
type = "openshift"
31+
type_code = "ocp4"
32+
version = "4.9"
33+
}
2934
}
3035
name_prefix = var.name_prefix != "" ? var.name_prefix : var.resource_group_name
3136
name_list = [local.name_prefix, "cluster"]

test/stages/stage1-resource-group.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@ module "resource_group" {
22
source = "github.com/cloud-native-toolkit/terraform-ibm-resource-group.git"
33

44
resource_group_name = var.resource_group_name
5-
ibmcloud_api_key = false
5+
ibmcloud_api_key = var.ibmcloud_api_key
66
}

test/stages/variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ variable "worker_count" {
6969

7070
variable "ocp_version" {
7171
type = string
72-
default = "4.8"
72+
default = "4.9"
7373
}
7474

7575
variable "vpc_subnet_label" {

variables.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ variable "flavor" {
3636
variable "ocp_version" {
3737
type = string
3838
description = "The version of the OpenShift cluster that should be provisioned (format 4.x)"
39-
default = "4.8"
39+
default = "4.9"
4040
}
4141

4242
variable "exists" {

0 commit comments

Comments
 (0)