Skip to content

Releases: rancher/terraform-provider-rancher2

v1.14.0

07 May 18:18
12451d6
Compare
Choose a tag to compare

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 limit quantity_per_subnet. Default 0 (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 for rke2 Clusters. Conflicts with aks_config, eks_config, gke_config, oke_config, k3s_config and rke_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 for gke Clusters. Conflicts with aks_config, eks_config, eks_config_v2, gke_config, oke_config, k3s_config and rke_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_v2 schema resource, defining conflict between git_repo and url arguments
  • Improved rancher2_cluster_sync with 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_pool resource, adding forcenew property to not updatable arguments
  • Fix rancher2_cluster resource, fixing provider crash if cluster_monitoring_input argument is deleted
  • Fix rancher2_project resource, fixing provider crash if project_monitoring_input argument is deleted
  • Fix rancher2_catalog_v2 resource, just setting default git_branch value if git_repo is specified
  • Fix rancher2_cluster.eks_config_v2 argument, setting private_access, public_access and secrets_encryption as computed argument, removing default value

v1.13.0

31 Mar 18:57
1b39891
Compare
Choose a tag to compare

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_sync to allow wait until all catalogs are downloaded and active

BUG FIXES:

  • Fix rancher2_app_v2 to respect Rancher system default registry
  • Fix rancher2_cluster.eks_config_v2 to deploy properly EKS clusters
  • Fix rancher2_catalog_v2 to wait until downloaded status

v1.12.0

05 Mar 15:26
ea1aee4
Compare
Choose a tag to compare

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_config to support boot_from_volume and related arguments
  • Added password as valid cluster_template_questions type to rancher2_cluster resource
  • Preserve cluster_template_answers for cluster_template_questions of type password in rancher2_cluster resource to avoid misleading diffs
  • Added nodes attribute reference to rancher2_cluster_sync resource
  • 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

v1.11.0

08 Jan 17:29
eeb8d77
Compare
Choose a tag to compare

CHANGELOG

1.11.0 (January 08, 2021)

FEATURES:

  • New Argument: rancher2_node_template.hetzner_config - (Optional) Hetzner config for the Node Template (list maxitems:1)
  • New Argument: rancher2_cluster.rke_config.dns.linear_autoscaler_params - (Optional) LinearAutoScalerParams dns config (list Maxitem: 1)
  • New Argument: rancher2_cluster.rke_config.dns.update_strategy - (Optional) DNS update strategy (list Maxitems: 1)
  • New Argument: rancher2_notifier.dingtalk_config - (Optional) Dingtalk config for notifier (list maxitems:1)
  • New Argument: rancher2_notifier.msteams_config - (Optional) MSTeams config for notifier (list maxitems:1)
  • New Data Source: rancher2_global_dns_provider - Provides a Rancher V2 Global DNS Provider data source
  • New Resource: rancher2_global_dns - Provides a Rancher V2 Global DNS resource
  • New Resource: rancher2_global_dns_provider - Provides a Rancher V2 Global DNS Provider resource

ENHANCEMENTS:

  • Updated rancher2_app_v2.chart_version as optional/computed argument. Deploying latest app v2 version if chart_version is not provided
  • Updated rancher2_app_v2.wait default value to true
  • Updated go mod to support Rancher v2.5.4
  • Updated acceptance tests to use Rancher v2.5.4

BUG FIXES:

  • Fixed rancher2_cluster resource, added retry when enabling cluster monitoring and got apierr 500. rancher/rancher#30188
  • Fixed rancher2_cluster datasource error, when rke_config.services.kube_api.secrets_encryption_config.custom_config or rke_config.services.kube_api.event_rate_limit.configuration are set. #546
  • Fixed rancher2_cluster_template required argument definition on docs
  • Fixed Apps & marketplace guide for Rancher v2.5.0 format
  • Fixed doc examples for activedirectory, freeipa and openldap auth providers
  • Fixed rancher2_app_v2 resource to properly pass global values to sub charts. #545
  • Fixed rancher2_app_v2 resource to don't override name nor namespace on App v2 not certified by rancher
  • Fixed rancher2_cluster docs, adding missed gke_config.enable_master_authorized_network argument

v1.10.6

11 Nov 21:01
34a9e52
Compare
Choose a tag to compare

CHANGELOG

1.10.6 (November 11, 2020)

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fixed flattenClusterTemplateRevisions func to avoid crash on rancher2_cluster_template resource at some circunstances

v1.10.5

11 Nov 17:52
f04b2ca
Compare
Choose a tag to compare

CHANGELOG

1.10.5 (November 11, 2020)

FEATURES:

  • Deprecated Argument: rancher2_cluster.eks_import - (Optional) Use rancher2_cluster.eks_config_v2 instead. For Rancher v2.5.0 and above
  • New Argument: rancher2_cluster.eks_config_v2 - (Optional) EKS cluster import and new management support. For Rancher v2.5.0 and above

ENHANCEMENTS:

  • Updated go mod to support Rancher v2.5.2
  • Updated acceptance tests to use Rancher v2.5.2
  • Improved rancher2_bootstrap on resource creation. Number of retires on bootstrapDoLogin function can be configured with retries provider argument
  • Updated rancher2_catalog_v2 contextualized resource id with cluster_id prefix
  • Updated rancher2_app_v2 contextualized resource id with cluster_id prefix
  • Updated rancher2_app_v2 to show helm operation log if fail
  • Updated rancher2_app_v2.values argument as sensitive

BUG FIXES:

  • Fixed rancher2_cluster.rke_config.upgrade_strategy.drain argument to set false value properly
  • Fixed Apps & marketplace guide for Rancher v2.5.0 format
  • Fixed rancher2_app_v2.values argument to avoid false diff
  • Fixed rancher2_cluster_role_template_binding and rancher2_cluster_role_template_binding arguments to forceNew on update

v1.10.4

29 Oct 21:04
7d6604f
Compare
Choose a tag to compare

CHANGELOG

1.10.4 (October 29, 2020)

FEATURES:

  • New Argument: rancher2_cluster.oke_config - (Optional) Oracle OKE configuration
  • New Argument: rancher2_node_template.openstack_config.application_credential_id - (Optional) OpenStack application credential id
  • New Argument: rancher2_node_template.openstack_config.application_credential_name - (Optional) OpenStack application credential name
  • New Argument: rancher2_node_template.openstack_config.application_credential_secret - (Optional) OpenStack application credential secret
  • New Argument: rancher2_notifier.dingtal_config - (Optional) Dingtalk config for notifier. For Rancher v2.4.0 and above (list maxitems:1)
  • New Argument: rancher2_notifier.msteams_config - (Optional) MSTeams config for notifier. For Rancher v2.4.0 and above (list maxitems:1)
  • New Argument: rancher2_cluster.eks_import - (Optional) EKS cluster import and new management support. For Rancher v2.5.0 and above
  • New Argument: rancher2_bootstrap.ui_default_landing - (Optional) Set default ui landing on Rancher bootstrap. For Rancher v2.5.0 and above
  • New Data Source: rancher2_catalog_v2 - Support new Rancher catalog V2 datasource. For Rancher v2.5.0 and above
  • New Resource: rancher2_catalog_v2 - Support new Rancher catalog V2 resource. For Rancher v2.5.0 and above
  • New Resource: rancher2_app_v2 - Support new Rancher app V2 resource. For Rancher v2.5.0 and above

ENHANCEMENTS:

  • Added new computed ca_cert argument at rancher2_cluster resource and datasource
  • Delete rancher2_app if created and got timeout to be active
  • Updated golang to v1.14.9 and removing vendor folder
  • Updated go mod to support Rancher v2.5.1
  • Added dingtal_config and msteams_config arguments at rancher2_notifier resource. go code and docs
  • Improved rancher2_cluster_sync wait for cluster monitoring
  • Improved rancher2_bootstrap on resource creation. bootstrapDoLogin function will retry 3 times user/pass login before fail
  • Updated acceptance tests to use Rancher v2.5.1, k3s v1.18.9-k3s1 and cert-manager v1.0.1
  • Added new Apps & marketplace guide for Rancher v2.5.0

BUG FIXES:

  • Fix rke_config.monitoring.replicas argument to set default value to 1 if monitoring enabled
  • Fix Rancher auth config apply on activedirectory, freeipa and openldap providers

v1.10.3

14 Sep 21:38
8f6679f
Compare
Choose a tag to compare

CHANGELOG

1.10.3 (September 14, 2020)

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix Error: string is required upgrading rancher2 provider from v1.10.0 or lower

v1.10.2

10 Sep 10:39
c7d611d
Compare
Choose a tag to compare

CHANGELOG

1.10.2 (September 10, 2020)

FEATURES:

ENHANCEMENTS:

  • Updated go mod, vendor files and provider tests to support rancher 2.4.8 and k3s v1.18.8-k3s1
  • Added rancher2_cluster_sync.state_confirm argument to wait until active status is confirmed a number of times
  • Added syslog_config.enable_tls argument to cluster and project logging

BUG FIXES:

  • Fix rke_config.cloud_provider.name argument to not be validated
  • Fix rancher2_certificate resource update
  • Fix false diff if rancher2_project.project_monitoring_input not specified
  • Fix rancher2_token.ttl argument to work properly on Rancher up to v2.4.7
  • Fix rancher2_namespace.resource_quota argument to computed
  • Fix rancher2_app resource to wait until created/updated

v1.10.1

28 Aug 03:47
e95594a
Compare
Choose a tag to compare

CHANGELOG

1.10.1 (August 27, 2020)

FEATURES:

ENHANCEMENTS:

  • Added nsg support on azure_config argument on rancher2_node_template resource
  • Updated go mod, vendor files and provider tests to support rancher 2.4.6
  • Added aws kms key id support to rancher2_node_template

BUG FIXES:

  • Fix rke_config.event_rate_limit.configuration argument to work properly
  • Fix cluster and project role template binding doc files name
  • Fix rancher2_cluster_sync resource error if referred cluster deleted out of band
  • Fix rancher2_namespace and rancher2_project resources error if destroyed by not global admin user
  • Fix rancher2_app resource error if referred project deleted out of band
  • Fix rancher2_app doc typo on target_namespace argument description
  • Fix rancher2_cluster and rancher2_project resources error if created with monitoring enabled by not global admin user
  • Fix rancher2_token to set annotations and labels as computed attibutes
  • Fix rke_config.secrets_encryption_config.custom_config argument to work properly
  • Fix rancher2_token.ttl argument to work properly on Rancher v2.4.6
  • Fix rancher2_project resource applying pod_security_policy_template_id argument on creation