Releases: rancher/terraform-provider-rancher2
Releases · rancher/terraform-provider-rancher2
v1.20.0
CHANGELOG
1.20.0 (September 17, 2021)
FEATURES:
- New Argument:
rancher2_cluster.aks_config_v2- (Optional) The Azure AKS v2 configuration for creating/importaksClusters. Conflicts withaks_config,eks_config,eks_config_v2,gke_config,gke_config_v2,oke_configk3s_configandrke_config. For Rancher v2.6.0 and above (list maxitems:1) - New Argument:
rancher2_cloud_credential.azure_credential_config.environment- (Optional/Computed) Azure environment (e.g. AzurePublicCloud, AzureChinaCloud) (string) - New Argument:
rancher2_cloud_credential.azure_credential_config.tenant_id- (Optional/Computed) Azure Tenant ID (string) - New Attribute:
rancher2_cluster.cluster_registration_token.insecure_node_command- (Computed) Insecure node command to execute in a imported k8s cluster (string) - New Attribute:
rancher2_cluster.cluster_registration_token.insecure_windows_node_command- (Computed) Insecure windows command to execute in a imported k8s cluster (string) - New Attribute:
rancher2_cloud_credential.amazonec2_credential_config.default_region- (Optional) AWS default region (string) - New Resource:
rancher2_machine_config_v2- Provides a Rancher v2 Machine config v2 resource. Available as tech preview at Rancher v2.6.0 and above. - New Resource:
rancher2_cluster_v2- Provides Rancher cluster v2 resource to manage RKE2 and K3S cluster. Available as tech preview at Rancher v2.6.0 and above. - New Data Source:
rancher2_cluster_v2- Provides Rancher cluster v2 resource to manage RKE2 and K3S cluster. Available at Rancher v2.6.0 and above.
ENHANCEMENTS:
- Updated go modules and acceptance tests to support rancher v2.6.0
- Updated
rancher2_cluster.rke_configschema to support rancher v2.6.0 rancher/rke#2409 - Updated
rancher2_cluster.gke_config_v2schema to support rancher v2.6.0 rancher/gke-operator#49 - Updated
rancher2_cluster.eks_config_v2schema to support rancher v2.6.0 rancher/eks-operator#38 - Updated
rancher2_cluster.gke_config_v2schema to support rancher v2.6.0 rancher/rancher#34291 - Updated docs, adding note to use
rancher2_bootstrapresource on Rancher v2.6.0 and above
BUG FIXES:
- Updated
rancher2_project_role_template_bindingrancher2_cluster_role_template_bindingresources, settinguser_idandgroup_idarguments as computed - Updated
rancher2_cluster.aks_config_v2to:- disable default value for
node_pools.max_countandnode_pools.min_countrancher/rancher#34752 - set optional arguments as computed for imported clusters rancher/rancher#34758
- disable default value for
- Updated
InfoAppV2function to proper escape url query params #739
v1.17.2
v1.17.1
CHANGELOG
1.17.1 (August 18, 2021)
FEATURES:
- New Argument:
rancher2_cluster.fleet_workspace_name- (Optional/Computed) Fleet workspace name (string)
ENHANCEMENTS:
BUG FIXES:
- Fix
rancher2_clusterresource update to not reset fleet workspace name - Fix
rancher2_node_templateresource to proper updatecloud_credential_idanduse_internal_ip_addressarguments
v1.17.0
CHANGELOG
1.17.0 (August 12, 2021)
FEATURES:
- New Argument:
rancher2_cluster.rke_config.ingress.tolerations- (Optional) Ingress add-on tolerations (list) - New Argument:
rancher2_cluster.rke_config.monitoring.tolerations- (Optional) Monitoring add-on tolerations (list) - New Argument:
rancher2_cluster.rke_config.network.tolerations- (Optional) Network add-on tolerations (list) - New Argument:
rancher2_cluster.rke_config.dns.options- (Optional) DNS add-on options (map) - New Argument:
rancher2_cluster.rke_config.dns.tolerations- (Optional) DNS add-on tolerations (list) - New Argument:
rancher2_cluster.oke_config.enable_private_control_plane- (Optional) Specifies whether Kubernetes API endpoint is a private IP only accessible from within the VCN. Defaultfalsefor Rancher v2.5.10 or above (bool) - New Data Source:
rancher2_storage_class_v2- Provides Rancher Storage Class v2 data source. Available at Rancher v2.5.x and above. - New Resource:
rancher2_storage_class_v2- Provides Rancher Storage Class v2 resource. Available at Rancher v2.5.x and above.
ENHANCEMENTS:
- Added
tolerationsschema, structure and tests - Updated
rancher2_clusterresource to properly generate cluster registration token - Minor
rancher2_catalog_v2andrancher2_secret_v2datasource docs update - Added verb
deletecollectionto policy rule - Updated
WaitForClusterStatefunction to check for cluster transitioning before return error
BUG FIXES:
- Updated
rancher2_notifierresource to be replaced on update - Fixed
rancher2_cluster.eks_config_v2to avoid false diff - Updated
rancher2_notifierresource to be replaced on update - Updated
rancher2_clusterdocs to proper format yaml examples
v1.16.0
CHANGELOG
1.16.0 (July 15, 2021)
FEATURES:
- New Argument:
rancher2_auth_config_keycloak.entity_id- (Optional/Computed) KeyCloak Client ID field (string) - New Argument:
rancher2_auth_config_activedirectory.start_tls- (Optional/Computed) Enable start TLS connection (bool) - New Argument:
rancher2_node_pool.drain_before_delete- (Optional) Drain nodes before delete (bool)
ENHANCEMENTS:
- Added timeout error message to
CatalogV2Client,getObjectV2ByIDandGetCatalogV2Listfunctions - Updated
rancher2_bootstrapresource to wait untillocalcluster is active - Updated
rancher2_cluster.rke_config.cloud_provider.nameargument fromOptional/ComputedtoOptional - Updated
rancher2_clusterresource to replace RKE cluster API info instead of update, ifrancher2_cluster.rke_confighas been updated - Updated
rancher2_projectresource to replace project API info instead of update - Updated
rancher2_node_template.engine_install_urlargument to becomputed - Updated Rancher to v2.5.9
- Updated golang to v1.16.5 and added darwin arm64 build
BUG FIXES:
- Fixed
rancher2_cluster.gke_config_v2.cluster_addonsto be optional
v1.15.1
v1.15.0
CHANGELOG
1.15.0 (May 20, 2021)
FEATURES:
- Deprecated Argument:
rancher2_cluster.aks_config.tag- (Deprecated) Usetagsargument instead as []string - New Argument:
rancher2_cluster.aks_config.tags- (Optional/Computed) Tags for Kubernetes cluster. For example,["foo=bar","bar=foo"](list) - New Argument:
rancher2_cluster.agent_env_vars- (Optional) Optional Agent Env Vars for Rancher agent. For Rancher v2.5.6 and above (list) - Deprecated provider Argument:
retries- (Deprecated) Use timeout instead - New provider Argument:
timeout- (Optional) Timeout duration to retry for Rancher connectivity and resource operations. Default:"120s" - New Argument:
rancher2_cluster.oke_config.pod_cidr- (Optional) A CIDR IP range from which to assign Kubernetes Pod IPs (string) - New Argument:
rancher2_cluster.oke_config.service_cidr- (Optional) A CIDR IP range from which to assign Kubernetes Service IPs (string)
ENHANCEMENTS:
- Added timeout to
CatalogV2Clientfunction when getting new catalog v2 client
BUG FIXES:
- Fixed
rancher2_cluster.hetzner_config.UsePrivateNetworkwith proper json field name
v1.14.0
CHANGELOG
1.14.0 (May 7, 2021)
FEATURES:
- New Argument:
rancher2_cluster.oke_config.limit_node_count- (Optional) The maximum number of worker nodes. Can limitquantity_per_subnet. Default0(no limit) (int) - New Argument:
rancher2_cluster.rke_config.ingress.default_backend- (Optional) Enable ingress default backend. Default:true(bool) - New Argument:
rancher2_cluster.rke_config.ingress.http_port- (Optional/Computed) HTTP port for RKE Ingress (int) - New Argument:
rancher2_cluster.rke_config.ingress.https_port- (Optional/Computed) HTTPS port for RKE Ingress (int) - New Argument:
rancher2_cluster.rke_config.ingress.network_mode- (Optional/Computed) Network mode for RKE Ingress (string) - New Argument:
rancher2_cluster.rke_config.ingress.update_strategy- (Optional) RKE ingress update strategy (list Maxitems: 1) - New Argument:
rancher2_cluster.rke2_config- (Optional/Computed) The RKE2 configuration forrke2Clusters. Conflicts withaks_config,eks_config,gke_config,oke_config,k3s_configandrke_config(list maxitems:1) - New Argument:
rancher2_cluster_sync.wait_alerting- (Optional) Wait until alerting is up and running. Default:false(bool) - New Argument:
rancher2_cluster.gke_config_v2- (Optional) The Google GKE V2 configuration forgkeClusters. Conflicts withaks_config,eks_config,eks_config_v2,gke_config,oke_config,k3s_configandrke_config. For Rancher v2.5.8 or above (list maxitems:1) - New Argument:
rancher2_cloud_credential.google_credential_config- (Optional) Google config for the Cloud Credential (list maxitems:1)
ENHANCEMENTS:
- Updated
rancher2_catalog_v2schema resource, defining conflict betweengit_repoandurlarguments - Improved
rancher2_cluster_syncwith new cluster state check method and new option to wait until alerting is enabled - Updated go mod to support Rancher
v2.5.8 - Updated acceptance tests to use Rancher
v2.5.8
BUG FIXES:
- Fix
rancher2_node_poolresource, addingforcenewproperty to not updatable arguments - Fix
rancher2_clusterresource, fixing provider crash ifcluster_monitoring_inputargument is deleted - Fix
rancher2_projectresource, fixing provider crash ifproject_monitoring_inputargument is deleted - Fix
rancher2_catalog_v2resource, just setting defaultgit_branchvalue ifgit_repois specified - Fix
rancher2_cluster.eks_config_v2argument, settingprivate_access,public_accessandsecrets_encryptionas computed argument, removing default value
v1.13.0
CHANGELOG
1.13.0 (March 31, 2021)
FEATURES:
- New Argument:
rancher2_cluster.eks_config_v2.node_groups.image_id- (Optional) The EKS node group image ID (string) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.launch_template- (Optional) The EKS node groups launch template (list Maxitem: 1) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.launch_template.id- (Required) The EKS node group launch template ID (string) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.launch_template.name- (Optional/Computed) The EKS node group launch template name (string) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.launch_template.version- (Optional) The EKS node group launch template version. Default:1(int) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.request_spot_instances- (Optional) Enable EKS node group request spot instances (bool) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.resource_tags- (Optional) The EKS node group resource tags (map) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.spot_instance_types- (Optional) The EKS node group sport instace types (list string) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.subnets- (Optional) The EKS node group subnets (list string) - New Argument:
rancher2_cluster.eks_config_v2.node_groups.user_data- (Optional) The EKS node group user data (string) - New Argument:
rancher2_cluster_sync.wait_catalogs- (Optional) Wait until all catalogs are downloaded and active. Default:false(bool) - New Attribute:
rancher2_cluster.eks_config_v2.node_groups.version- (Computed) The EKS node group version (string) - New Attribute:
rancher2_app_v2.system_default_registry- (Computed) The system default registry of the app (string) - New Data Source:
rancher2_secret_v2- Provides a Rancher V2 Secret V2 data source - New Resource:
rancher2_secret_v2- Provides a Rancher V2 Secret V2 resource
ENHANCEMENTS:
- Updated go mod to support Rancher
v2.5.7 - Updated acceptance tests to use Rancher
v2.5.7 - Updated
rancher2_cluster_syncto allow wait until all catalogs are downloaded and active
BUG FIXES:
- Fix
rancher2_app_v2to respect Rancher system default registry - Fix
rancher2_cluster.eks_config_v2to deploy properly EKS clusters - Fix
rancher2_catalog_v2to wait untildownloadedstatus
v1.12.0
CHANGELOG
1.12.0 (March 05, 2021)
FEATURES:
- New Argument:
rancher2_node_template.node_taints- (Optional) Node taints. For Rancher v2.3.3 or above (List) - New Argument:
rancher2_cluster.aks_config.load_balancer_sku- (Optional/Computed) Load balancer type (basic | standard). Must be standard for auto-scaling - New Argument:
rancher2_cluster.rke_config.services.etc.backup_config.timeout- (Optional/Computed) Set timeout in seconds for etcd backup. Just for Rancher v2.5.6 and above - New Data Source:
rancher2_global_role- Provides a Rancher V2 Global Role data source - New Resource:
rancher2_global_role- Provides a Rancher V2 Global Role resource - New Resource:
rancher2_feature- Provides a Rancher V2 Feature resource. Just for Rancher v2.5.0 and above
ENHANCEMENTS:
- Updated
rancher2_node_template.openstack_configto supportboot_from_volumeand related arguments - Added
passwordas validcluster_template_questionstype torancher2_clusterresource - Preserve
cluster_template_answersforcluster_template_questionsof typepasswordinrancher2_clusterresource to avoid misleading diffs - Added
nodesattribute reference torancher2_cluster_syncresource - Updated go mod to support Rancher
v2.5.6 - Updated acceptance tests to use Rancher
v2.5.6 - Added retry to get k8s default version, if getting forbidden or server error
- Added retry to get V2 catalogs and apps, if getting server error