Skip to content

Commit 9d98bee

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
feat: onboard cloudpak 4 data
1 parent 465cf6f commit 9d98bee

File tree

3 files changed

+11
-17
lines changed

3 files changed

+11
-17
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module "build_cpd_image" {
1212
count = var.cloud_pak_deployer_image == null ? 1 : 0
1313
source = "./deploy/cpd-image-build"
1414
prefix = var.prefix
15-
ibmcloud_api_key = var.ibmcloud_api_key
15+
ibmcloud_api_key = var.ibmcloud_api_key
1616
region = var.region
1717
code_engine_project_name = var.code_engine_project_name
1818
code_engine_project_id = var.code_engine_project_id

tests/resources/main.tf

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -80,12 +80,14 @@ module "ocp_base" {
8080
##############################################################################
8181

8282
module "cloudpak_data" {
83-
source = "../../solutions/fully-configurable"
84-
ibmcloud_api_key = var.ibmcloud_api_key
85-
prefix = var.prefix
86-
region = var.region
87-
cluster_name = module.ocp_base.cluster_name
88-
cluster_rg_id = module.resource_group.resource_group_id
89-
cpd_admin_password = var.cpd_admin_password
90-
cpd_entitlement_key = var.cpd_entitlement_key
83+
source = "../.."
84+
ibmcloud_api_key = var.ibmcloud_api_key
85+
prefix = var.prefix
86+
region = var.region
87+
cluster_name = module.ocp_base.cluster_name
88+
cluster_rg_id = module.resource_group.resource_group_id
89+
cloud_pak_deployer_image = "quay.io/cloud-pak-deployer/cloud-pak-deployer"
90+
cpd_admin_password = var.cpd_admin_password
91+
cpd_entitlement_key = var.cpd_entitlement_key
92+
install_odf_cluster_addon = true
9193
}

version.tf

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,5 @@ terraform {
55
source = "ibm-cloud/ibm"
66
version = "1.78.0"
77
}
8-
helm = {
9-
source = "hashicorp/helm"
10-
version = ">= 2.8.0, <3.0.0"
11-
}
12-
shell = {
13-
source = "scottwinkler/shell"
14-
version = "1.7.10"
15-
}
168
}
179
}

0 commit comments

Comments
 (0)