Releases: rancher/terraform-provider-rancher2
Releases · rancher/terraform-provider-rancher2
v1.24.2
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
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:
v1.24.0
v1.23.0
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 specifyingserver_labels
. See #851.drain_before_delete
can now be specified onrancher2_cluster_v2
resources. See #890.- Added support for
rancher2_cloud_credential
imported resources. - Added
rancher2_node_template
label for server resources inhetzner_config
. See #657.
BUG FIXES:
v1.22.2
CHANGELOG
1.22.2 (January 6, 2022)
FEATURES:
ENHANCEMENTS:
- Added k8s specialized verbs
bind
,escalate
,impersonate
anduse
support, torancher2_global_role
andrancher2_role_template
rules
BUG FIXES:
v1.22.1
v1.22.0
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) Userancher2_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
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 errIsNotFound
orIsForbidden
- Refactored
activateNodeDriver
andactivateKontainerDriver
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
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 allowrancher2_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
CHANGELOG
1.20.0 (September 17, 2021)
FEATURES:
- New Argument:
rancher2_cluster.aks_config_v2
- (Optional) The Azure AKS v2 configuration for creating/importaks
Clusters. Conflicts withaks_config
,eks_config
,eks_config_v2
,gke_config
,gke_config_v2
,oke_config
k3s_config
andrke_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, settinguser_id
andgroup_id
arguments as computed - Updated
rancher2_cluster.aks_config_v2
to:- disable default value for
node_pools.max_count
andnode_pools.min_count
rancher/rancher#34752 - set optional arguments as computed for imported clusters rancher/rancher#34758
- disable default value for
- Updated
InfoAppV2
function to proper escape url query params #739