You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: added cluster addon support to the OCP DA and module. It can be configured using the cluster_addons and manage_all_cluster_addons variables (#733)
|[ibm_container_addons.existing_addons](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/container_addons)| data source |
893
895
|[ibm_container_cluster_versions.cluster_versions](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/container_cluster_versions)| data source |
894
896
|[ibm_iam_account_settings.iam_account_settings](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/iam_account_settings)| data source |
895
897
|[ibm_is_image.image](https://registry.terraform.io/providers/IBM-Cloud/ibm/latest/docs/data-sources/is_image)| data source |
| <aname="input_appid"></a> [appid](#input\_appid)| The App ID instance to be used for the teleport vsi deployments | <pre>object({<br> name = optional(string)<br> resource_group = optional(string)<br> use_data = optional(bool)<br> keys = optional(list(string))<br> use_appid = bool<br> })</pre> | <pre>{<br> "use_appid": false<br>}</pre> | no |
description="Map of OCP cluster add-on versions to install (NOTE: The 'vpc-block-csi-driver' add-on is installed by default for VPC clusters, however you can explicitly specify it here if you wish to choose a later version than the default one). For full list of all supported add-ons and versions, see https://cloud.ibm.com/docs/containers?topic=containers-supported-cluster-addon-versions"
177
+
default=null
178
+
}
179
+
180
+
variable"manage_all_cluster_addons" {
181
+
type=bool
182
+
default=false
183
+
nullable=false# null values are set to default value
184
+
description="Instructs Terraform to manage all cluster addons, even if addons were installed outside of the module. If set to 'true' this module will destroy any addons that were installed by other sources."
Copy file name to clipboardExpand all lines: patterns/roks/variables.tf
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,27 @@ variable "entitlement" {
171
171
default=null
172
172
}
173
173
174
+
variable"cluster_addons" {
175
+
type=object({
176
+
debug-tool =optional(string)
177
+
image-key-synchronizer =optional(string)
178
+
openshift-data-foundation =optional(string)
179
+
vpc-file-csi-driver =optional(string)
180
+
static-route =optional(string)
181
+
cluster-autoscaler =optional(string)
182
+
vpc-block-csi-driver =optional(string)
183
+
})
184
+
description="Map of OCP cluster add-on versions to install (NOTE: The 'vpc-block-csi-driver' add-on is installed by default for VPC clusters, however you can explicitly specify it here if you wish to choose a later version than the default one). For full list of all supported add-ons and versions, see https://cloud.ibm.com/docs/containers?topic=containers-supported-cluster-addon-versions"
185
+
default=null
186
+
}
187
+
188
+
variable"manage_all_cluster_addons" {
189
+
type=bool
190
+
default=false
191
+
nullable=false# null values are set to default value
192
+
description="Instructs Terraform to manage all cluster addons, even if addons were installed outside of the module. If set to 'true' this module will destroy any addons that were installed by other sources."
addons =optional(object({ # Map of OCP cluster add-on versions to install
831
+
debug-tool =optional(string)
832
+
image-key-synchronizer =optional(string)
833
+
openshift-data-foundation =optional(string)
834
+
vpc-file-csi-driver =optional(string)
835
+
static-route =optional(string)
836
+
cluster-autoscaler =optional(string)
837
+
vpc-block-csi-driver =optional(string)
838
+
}), {})
839
+
manage_all_addons =optional(bool, false) # Instructs Terraform to manage all cluster addons, even if addons were installed outside of the module. If set to 'true' this module will destroy any addons that were installed by other sources.
0 commit comments