image-registry

cloud-native-toolkit/image-registry/ibm

Terraform Module HCL IBM

Terraform module that creates/verifies the IBM Cloud Image Registry namespace and (optionally) creates configuration in the cluster

Install
module "image-registry" {
source = "cloud-native-toolkit/image-registry/ibm"
version = "2.1.4"
}
plain text: /constructs/tfmod-cloud-native-toolkit-image-registry-ibm/install.txt
⭐ Source on GitHub 📦 Registry page
README

IBM Cloud Container Registry terraform module Terraform module that sets up a namespace within the IBM Cloud Container Registry and configures it in the cluster for use. Configuring the cluster includes adding the icr pull secret in the cluster-wide pull secret and adding a ConsoleLink to ocp 4.x clusters. Software dependencies The module depends on the following software components: Command-line tools - terraform - v12 - oc cli - ibmcloud cli Terraform providers - Helm provider >= 1.1.1 (provided by Terraform) Module dependencies This module makes use of the output from other modules: - Cluster - github.com/ibm-garage-cloud/terraform-ibm-container-platform.git - Namespace - github.com/ibm-garage-clout/terraform-cluster-namespace.git Example usage ``hcl-terraform module "registry" { source

Inputs (12)
NameTypeDescriptionDefault
resource_group_namestringThe name of the IBM Cloud resource group where the cluster will be created/can b required
regionstringThe region for the image registry been installed. required
cluster_namespacestringThe namespace in the cluster where the configuration should be created (e.g. too required
config_file_pathstringThe path to the kube config required
ibmcloud_api_keystringThe IBM Cloud api token required
private_endpointstringFlag indicating that the registry url should be created with private endpoints"true"
registry_userstringThe username to authenticate to the IBM Container Registry"iamapikey"
applyboolFlag indicating that the module should be appliedtrue
cluster_type_codestringThe cluster_type of the cluster"ocp4"
registry_namespacestringThe namespace that will be created in the IBM Cloud image registry. If not provi""
registry_passwordstringThe password (API key) to authenticate to the IBM Container Registry. If not pro""
gitops_dirstringThe directory where the gitops configuration should be stored""
Resources (2)
local_filenull_resource
Details
FrameworkTerraform Module
LanguageHCL
Version2.1.4
Cloud IBM
★ Stars0
Forks2
Total downloads113
Inputs12
Resources2
Namespacecloud-native-toolkit
Updated