Skip to content

Releases: rancher/terraform-provider-rancher2

v1.11.0

08 Jan 17:29
eeb8d77

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

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

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

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

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

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

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

v1.10.0

30 Jul 14:47
646f62c

Choose a tag to compare

CHANGELOG

1.10.0 (July 29, 2020)

FEATURES:

  • Deprecated Argument: rancher2_cluster.enable_cluster_istio - Deploy istio using rancher2_app resource instead
  • New Argument: rancher2_cluster.istio_enabled - (Computed) Is istio enabled at cluster?

ENHANCEMENTS:

  • Added wait argument to rancher2_app
  • Added configurable retry logic when Rancher responds with "405 method not allowed" for rancher2_node_template resource
  • Added drone pipeline definition to publish provider at terraform registry
  • Updated docs to terraform registry format

BUG FIXES:

  • Fixes on rancher2_cluster_template resource:
    • Update default revision. Related to #393
    • Import. Related to #386
    • Delete old template revisions. Related to #397
  • Fixed import resource description on doc files
  • Fixed bootstrap link on doc website

v1.9.0

23 Jul 13:40

Choose a tag to compare

CHANGELOG

1.9.0 (June 29, 2020)

FEATURES:

ENHANCEMENTS:

  • Updated acceptance tests:
    • run rancher HA environment on k3s v1.18.2-k3s1
    • integrated rancher update scenario from v2.3.6 to v2.4.5
  • Updated local cluster on rancher2_bootstrap resource, due to issue rancher/rancher#16213
  • Added load_balancer_sku argument to azure_cloud_provider configuration
  • Added nodelocal argument to rke_config.dns argument on rancher2_cluster resource
  • Added view verb to rules argument for rancher2_node_template resource
  • Updated golang to v1.13, modules and vendor files
  • Updated Rancher support to v2.4.5
  • Added full feature to rke_config.monitoring argument
  • Added external as allowed value on rke_config.cloud_provider argument on rancher2_cluster resource
  • Added region argument on gke_config for rancher2_cluster resource
  • Updated annotations and labels arguments to supress diff when name contains cattle.io/ or rancher.io/

BUG FIXES:

v1.8.3

23 Jul 14:18

Choose a tag to compare

CHANGELOG

1.8.3 (April 09, 2020)

FEATURES:

ENHANCEMENTS:

BUG FIXES:

  • Fix project alert group and alert rule datasource and resoruce documentation
  • Added version argument to cluster_monitoring_input argument on rancher2_cluster and rancher2_project resources

BUG FIXES:

  • Fixed rancher timeout on bootstrapping