container-registry
cloud-native-toolkit/container-registry/ibm
Module to set up the IBM Container Registry, including creating a namespace and upgrading the plan
IBM Container Registry module Module to set up the IBM Container Registry, including creating a namespace and upgrading the plan. Software dependencies The module depends on the following software components: Command-line tools - terraform - v13 - ibmcloud cli Terraform providers - None Module dependencies This module makes use of the output from other modules: - Resource group - github.com/cloud-native-toolkit/terraform-ibm-resource-group Example usage Refer test cases for more details ``hcl-terraform module "container_registry" { source = "github.com/cloud-native-toolkit/terraform-ibm-container-registry.git" resource_group_name = module.resource_group.name ibmcloud_api_key = var.ibmcloud_api_key region = var.region registry_namespace = var.registry_namespace upgrade_plan = var.upgrade_pl
| Name | Type | Description | Default |
|---|---|---|---|
| ibmcloud_api_key | string | The IBM Cloud api token | required |
| region | string | The region for the image registry been installed. | required |
| registry_namespace | string | The namespace that will be created in the IBM Cloud image registry. If not provi | "" |
| registry_user | string | The username to authenticate to the IBM Container Registry | "iamapikey" |
| registry_password | string | The password (API key) to authenticate to the IBM Container Registry. If not pro | "" |
| upgrade_plan | bool | Flag indicating that the container registry plan should be upgraded from Free to | true |
| resource_group_name | string | The name of the IBM Cloud resource group where the cluster will be created/can b | "cr-prefix" |
id — The id of the provisioned redis instancename — The name of the container registry servicecrn — The crn of the contaienr registry servicelabel — The label for the container registry instanceregistry_server — The server for the container registry endpoint used in `docker login` commandlocation — The location of the provisioned redis instanceservice — The name of the key provisioned for the redis instanceregistry_user — The username for the container registry endpointregistry_password — The password for the container registry endpointregistry_namespace — The namespace for the container registry endpointregistry_url — The url of the container registry server that can be accessed by a browser to manage images in the r