Skip to content

Commit 5a9afc2

Browse files
Jordan-Williams2Jordan-Williams2
authored andcommitted
fix: update tests
1 parent 2fd750d commit 5a9afc2

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

solutions/deploy/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ You need the following permissions to run this module:
131131
|------|-------------|------|---------|:--------:|
132132
| <a name="input_cloud_pak_deployer_image"></a> [cloud\_pak\_deployer\_image](#input\_cloud\_pak\_deployer\_image) | Cloud Pak Deployer image to use. If `null`, the image will be built using Code Engine. | `string` | `null` | no |
133133
| <a name="input_cloud_pak_deployer_release"></a> [cloud\_pak\_deployer\_release](#input\_cloud\_pak\_deployer\_release) | Release of Cloud Pak Deployer version to use. View releases at: https://github.com/IBM/cloud-pak-deployer/releases. | `string` | `"v3.1.2"` | no |
134-
| <a name="input_cloud_pak_deployer_secret"></a> [cloud\_pak\_deployer\_secret](#input\_cloud\_pak\_deployer\_secret) | Secret for accessing the Cloud Pak Deployer image. If `null`, a default secret will be created. | `map(string)` | `null` | no |
134+
| <a name="input_cloud_pak_deployer_secret"></a> [cloud\_pak\_deployer\_secret](#input\_cloud\_pak\_deployer\_secret) | Secret for accessing the Cloud Pak Deployer image. If `null`, a default secret will be created. | <pre>object({<br/> username = string<br/> password = string<br/> server = string<br/> email = string<br/> })</pre> | `null` | no |
135135
| <a name="input_cluster_name"></a> [cluster\_name](#input\_cluster\_name) | Name of the OpenShift cluster. | `string` | n/a | yes |
136136
| <a name="input_code_engine_project_id"></a> [code\_engine\_project\_id](#input\_code\_engine\_project\_id) | If you want to use an existing project, you can pass the code engine project ID and the Cloud Pak Deployer build will be built within the existing project instead of creating a new one. | `string` | `null` | no |
137137
| <a name="input_code_engine_project_name"></a> [code\_engine\_project\_name](#input\_code\_engine\_project\_name) | If the variable cloud\_pak\_deployer\_image is null, it will build the image with code engine and store it within a private ICR registry. Provide a name if you want to set the name. If not defined, default will be `{prefix}-cpd-{random-suffix}`. | `string` | `null` | no |

solutions/deploy/cloud-pak-deployer/variables.tf

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ variable "cloud_pak_deployer_secret" {
1717
server = string
1818
email = string
1919
})
20-
2120
default = null
2221
}
2322

solutions/deploy/variables.tf

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,13 @@ variable "cloud_pak_deployer_release" {
5858

5959
variable "cloud_pak_deployer_secret" {
6060
description = "Secret for accessing the Cloud Pak Deployer image. If `null`, a default secret will be created."
61-
type = map(string)
62-
default = null
61+
type = object({
62+
username = string
63+
password = string
64+
server = string
65+
email = string
66+
})
67+
default = null
6368
}
6469

6570
variable "cluster_name" {

0 commit comments

Comments
 (0)