Skip to content

Installs a WebSphere Liberty operator on your Red Hat OpenShift Container Platform on VPC landing zone.

License

Notifications You must be signed in to change notification settings

terraform-ibm-modules/terraform-ibm-websphere-liberty-operator

Repository files navigation

WebSphere Liberty on Red Hat OpenShift Container Platform module

Implemented (No quality checks) latest release pre-commit Renovate enabled semantic-release

Use this module to install a WebSphere Liberty operator on your Red Hat OpenShift Container Platform on VPC landing zone.

For more information about the IBM WebSphere Liberty operator refer to the official documentation avaiable here

Overview

terraform-ibm-websphere-liberty-operator

Usage

Required IAM access policies

Requirements

Name Version
terraform >= 1.3.0
external >=2.2.3, <3.0.0
helm >= 2.8.0, <3.0.0
ibm >= 1.59.0, < 2.0.0
kubernetes >= 2.16.1, <3.0.0
null >= 3.2.1, < 4.0.0
time >= 0.9.1, < 1.0.0

Modules

No modules.

Resources

Name Type
helm_release.ibm_operator_catalog resource
helm_release.websphere_liberty_operator resource
helm_release.websphere_liberty_operator_group resource
helm_release.websphere_liberty_operator_sampleapp resource
kubernetes_namespace.helm_release_operator_namespace resource
kubernetes_namespace.websphere_liberty_operator_namespace resource
kubernetes_namespace.websphere_liberty_sampleapp_namespace resource
null_resource.confirm_websphere_liberty_operator_operational resource
time_sleep.wait_catalog resource
time_sleep.wait_sampleapp resource
time_sleep.wait_websphere_liberty_operator resource
external_external.websphere_liberty_operator_sampleapp_url data source
ibm_container_cluster_config.cluster_config data source

Inputs

Name Description Type Default Required
add_ibm_operator_catalog Whether to configure the IBM Operator Catalog in the cluster before the IBM WebSphere Liberty operator is installed. Default is true. bool true no
cluster_config_endpoint_type Specify which type of endpoint to use for for cluster config access: 'default', 'private', 'vpe', 'link'. 'default' value will use the default endpoint of the cluster. string "default" no
cluster_id Id of the target IBM Cloud OpenShift Cluster. string n/a yes
create_ws_liberty_operator_namespace Whether to create the namespace where the IBM WebSphere Liberty operator is deployed. Default is false. bool false no
install_wslo_sampleapp Whether to deploy the WebSphere Application Server Liberty sample application. Default is false. bool false no
operator_helm_release_namespace Namespace to deploy the helm releases. Default to liberty-operator-helm-release. string "liberty-operator" no
ws_liberty_operator_install_plan_approval IBM WebSphere Liberty operator approval configuration for OLM upgrade. Set to 'Manual' to manually approve the operator upgrades. Default is Automatic. string "Automatic" no
ws_liberty_operator_namespace Namespace where the IBM WebSphere Liberty operator is deployed. Default is openshift-operators. string "openshift-operators" no
ws_liberty_operator_target_namespace Namespace that the the IBM WebSphere Liberty operator watches. Default is null, which means that the operator watches all the namespaces. string null no
wslo_sampleapp_name Application name to use for the WebSphere Application Server Liberty sample application. string "websphereliberty-app-sample" no
wslo_sampleapp_namespace Namespace where the WebSphere Application Server Liberty sample application is deployed. string "samplelibertyapp" no

Outputs

Name Description
websphere_liberty_operator_sampleapp_url WebSphere Application Server Liberty sample application URL.
ws_liberty_operator_namespace Namespace where the IBM WebSphere Liberty operator is installed.
ws_liberty_operator_target_namespace Namespace watched by the IBM WebSphere Liberty operator.

Contributing

You can report issues and request features for this module in GitHub issues in the module repo. See Report an issue or request a feature.

To set up your local development environment, see Local development setup in the project documentation.