Skip to content

Releases: rancher/terraform-provider-rancher2

v1.24.2

21 Oct 21:46
94e2ffe
Compare
Choose a tag to compare

1.24.2 (October 24, 2022)

FEATURES:

  • New Resource: admission_configuration - Admission configuration plugins. Available at Rancher v2.6.9 and above. See #909
  • Add Outscale support for node driver. See #962
  • Allow setting labels on nodes with RKE2. See #951

ENHANCEMENTS:

  • [Docs] Add a note about Azure AD auth configuration migration. See #983
  • [Docs] Remove tech preview reference for features that are already GA. See #1000
  • Bump docker url version to 20.10. See #970

BUG FIXES:

  • Use existing cluster registration token if conflict. See #997

v1.24.1

07 Sep 00:40
d6b9660
Compare
Choose a tag to compare

1.24.1 (September 6, 2022)

FEATURES:

  • New Argument: amazonec2_config.http_endpoint - (Optional) Enables or disables the HTTP metadata endpoint on your instances (string). See #944
  • New Argument: amazonec2_config.http_tokens - (Optional) The state of token usage for your instance metadata requests (string). See #944
  • New Argument: rke_config.aci_network_provider - (Optional/Computed) ACI provider config for RKE network (list maxitems:63). See #912

ENHANCEMENTS:

  • Add test coverage for amazonec2 node template. See #952
  • Remove non working args from amazonec2_config. See #960
  • Add release checklist to README. See #971
  • Bump rancher/rancher and go client dependencies to support the ACI Network Provider. See #959

BUG FIXES:

  • Fix broken logo link in README. See #924
  • Fix resource creation error on RKE2 cluster for Azure #876

v1.24.0

26 May 17:31
3468337
Compare
Choose a tag to compare

1.24.0 (May 25, 2022)

FEATURES:

  • Add Drain Before Delete timeout to cluster_v2 resource. See #903
  • Add k3s/rke2 etcd snapshot restore support for cluster v2. See #920

BUG FIXES:

  • Fixed RKE2 EC2 cluster creation with standard user token. See #898
  • Fixed incorrect delete timeout values for cluster resources. See #906
  • Fixed incorrect timeout variable used in the app delete function. See #897

v1.23.0

01 Apr 22:24
2d48da7
Compare
Choose a tag to compare

1.23.0 (March 31, 2022)

FEATURES:

  • The Harvester node driver is now supported. See #861.
  • Added support for KEv2 cluster certificate rotation. See #882.
  • Added support for node pool health checks on KEv2 clusters. See #889.

ENHANCEMENTS:

  • hetzner_node_driver now supports specifying server_labels. See #851.
  • drain_before_delete can now be specified on rancher2_cluster_v2 resources. See #890.
  • Added support for rancher2_cloud_credential imported resources.
  • Added rancher2_node_template label for server resources in hetzner_config. See #657.

BUG FIXES:

  • Importing KEv2 clusters with the Rancher client have their config correctly rewritten. See #36128.
  • Fix race condition for empty kubeconfig generation for rancher2_cluster_sync resource. See #849.

v1.22.2

06 Jan 19:44
2f7c623
Compare
Choose a tag to compare

CHANGELOG

1.22.2 (January 6, 2022)

FEATURES:

ENHANCEMENTS:

  • Added k8s specialized verbs bind, escalate, impersonate and use support, to rancher2_global_role and rancher2_role_template rules

BUG FIXES:

  • Fix rancher2_cluster_sync.state_confirm behaviour #797
  • Fix rancher2_cluster monitoring flips on resource update #825
  • Fix kube_config generation function at rancher2_cluster, rancher2_cluster_v2 and rancher2_cluster_sync for Rancher 2.6.0 and above #789

v1.22.1

23 Dec 18:01
3ddc9cf
Compare
Choose a tag to compare

CHANGELOG

1.22.1 (December 23, 2021)

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix getClusterKubeconfig function to properly generate kubeconfig when rancher2_cluster.LocalClusterAuthEndpoint is enabled for Rancher lower than v2.6.x #829

v1.22.0

22 Dec 21:29
35084fe
Compare
Choose a tag to compare

CHANGELOG

1.22.0 (December 22, 2021)

FEATURES:

  • New Argument: rancher2_cloud_credential.s3_credential_config - (Optional) S3 config for the Cloud Credential. For Rancher 2.6.0 and above (list maxitems:1)
  • New Argument: rancher2_cluster.rke_config.enable_cri_dockerd - (Optional) Enable/disable using cri-dockerd. Deafult: false (bool) #792
  • New Argument: rancher2_cluster.rke_config.private_registries.ecr_credential_plugin - (Optional) ECR credential plugin config (list maxitems:1)
  • New Argument: rancher2_cluster_v2.local_auth_endpoint - - (Optional) Cluster V2 local auth endpoint (list maxitems:1)
  • Deprecated Argument: rancher2_cluster_v2.rke_config.local_auth_endpoint - (Deprecated) Use rancher2_cluster_v2.local_auth endpoint instead (list maxitems:1)

ENHANCEMENTS:

  • Updated rancher2_cluster_v2 docs adding labels and annotations arguments. #784
  • Updated findClusterRegistrationToken function checking for correct Cluster Registration Token #791
  • Updated getClusterKubeconfig function to properly delete a cluster if cluster not available #788
  • Updated rancher2_machine_config_v2 resource to allow its use by Rancher standard users #824
  • Updated rancher2_cluster.eks_config_v2 argument to fix EKS launch template issue #820
  • Updated go modules and acceptance tests to support rancher v2.6.3

BUG FIXES:

  • Fix rancher2_cluster_v2.rke_config.registries sort to avoid false diff
  • Fix rancher2_machine_config_v2 to properly get updated

v1.21.0

18 Oct 18:58
95864a0
Compare
Choose a tag to compare

CHANGELOG

1.21.0 (October 18, 2021)

FEATURES:

  • New Data Source rancher2_principal Use this data source to retrieve information about a Rancher v2 Principal resource
  • New Argument: rancher2_bootstrap.initial_password - (Optional/Computed/Sensitive) Initial password for Admin user. Default: admin (string)

ENHANCEMENTS:

  • Added IsConflict function to retry on update v2 resources
  • Added RestartClients function to restart Rancher2 clients
  • Updated CatalogV2Client function to also retry if err IsNotFound or IsForbidden
  • Refactored activateNodeDriver and activateKontainerDriver functions to retry if got conflict on node driver action
  • Refactored v2 resources CRUD functions to be defined at resources files. Added retry if got conflict on update
  • Updated rancher2_cluster_v2 to support creation using Rancher2 standard user token
  • Refactored config.NormalizeURL function to return error
  • Updated rancher2_bootstrap.current_password argument to be Computed/Sensitive. Please be sure to remove this field from tf file before update.

BUG FIXES:

  • Fixed waitAllCatalogV2Downloaded function avoiding race condition

v1.20.1

05 Oct 18:54
6704c32
Compare
Choose a tag to compare

CHANGELOG

1.20.1 (October 5, 2021)

FEATURES:

  • New Data Source: rancher2_config_map_v2 - Provides Rancher configMap v2 data source. Available at Rancher v2.5.x and above.
  • New Resource: rancher2_config_map_v2 - Provides Rancher configMap v2 resource. Available at Rancher v2.5.x and above.

ENHANCEMENTS:

  • Updated waitForRancherLocalActive function to allow rancher2_bootstrap works when using Rancher restricted-admin at Rancher 2.6.x

BUG FIXES:

  • Fixed expandClusterEKSConfigV2 function to avoid provider crash #753
  • Fixed rancher2_cluster resource update to properly update eks v2 and gke v2 clusters

v1.20.0

17 Sep 16:07
6c5b292
Compare
Choose a tag to compare

CHANGELOG

1.20.0 (September 17, 2021)

FEATURES:

  • New Argument: rancher2_cluster.aks_config_v2 - (Optional) The Azure AKS v2 configuration for creating/import aks Clusters. Conflicts with aks_config, eks_config, eks_config_v2, gke_config, gke_config_v2, oke_config k3s_config and rke_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_config schema to support rancher v2.6.0 rancher/rke#2409
  • Updated rancher2_cluster.gke_config_v2 schema to support rancher v2.6.0 rancher/gke-operator#49
  • Updated rancher2_cluster.eks_config_v2 schema to support rancher v2.6.0 rancher/eks-operator#38
  • Updated rancher2_cluster.gke_config_v2 schema to support rancher v2.6.0 rancher/rancher#34291
  • Updated docs, adding note to use rancher2_bootstrap resource on Rancher v2.6.0 and above

BUG FIXES:

  • Updated rancher2_project_role_template_binding rancher2_cluster_role_template_binding resources, setting user_id and group_id arguments as computed
  • Updated rancher2_cluster.aks_config_v2 to:
  • Updated InfoAppV2 function to proper escape url query params #739