FEATURES:
- Deprecated Argument:
rancher2_cluster.eks_import
- (Optional) Userancher2_cluster.eks_config_v2
instead. Just for Rancher v2.5.0 and above - New Argument:
rancher2_cluster.eks_config_v2
- (Optional) EKS cluster import and new management support. Just for Rancher v2.5.0 and above
ENHANCEMENTS:
BUG FIXES:
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. Just for Rancher v2.5.0 and above - New Argument:
rancher2_bootstrap.ui_default_landing
- (Optional) Set default ui landing on Rancher bootstrap. Just for Rancher v2.5.0 and above - New Data Source:
rancher2_catalog_v2
- Support new Rancher catalog V2 datasource. Just for Rancher v2.5.0 and above - New Resource:
rancher2_catalog_v2
- Support new Rancher catalog V2 resource. Just for Rancher v2.5.0 and above - New Resource:
rancher2_app_v2
- Support new Rancher app V2 resource. Just for Rancher v2.5.0 and above
ENHANCEMENTS:
- Added new computed
ca_cert
argument atrancher2_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
, k3sv1.18.9-k3s1
and cert-managerv1.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
FEATURES:
ENHANCEMENTS:
BUG FIXES:
- Fix
Error: string is required
upgrading rancher2 provider from v1.10.0 or lower
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
FEATURES:
ENHANCEMENTS:
- Added
nsg
support onazure_config
argument onrancher2_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
andrancher2_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 ontarget_namespace
argument description - Fix
rancher2_cluster
andrancher2_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 applyingpod_security_policy_template_id
argument on creation
FEATURES:
- Deprecated Argument:
rancher2_cluster.enable_cluster_istio
- Deploy istio usingrancher2_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 rancher#393
- Import. Related to rancher#386
- Delete old template revisions. Related to rancher#397
- Fixed import resource description on doc files
- Fixed bootstrap link on doc website
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 toazure_cloud_provider
configuration - Added
nodelocal
argument torke_config.dns
argument onrancher2_cluster
resource - Added
view
verb torules
argument forrancher2_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 onrke_config.cloud_provider
argument onrancher2_cluster
resource - Added
region
argument ongke_config
forrancher2_cluster
resource - Updated
annotations
andlabels
arguments to supress diff when name containscattle.io/
orrancher.io/
BUG FIXES:
- Fixed
nodeTemplateStateRefreshFunc
function onrancher2_node_template
resource to check if returned error is forbidden - Updated
rancher2_app
resource to fix local cluster scoped catalogs - Updated api bool fields with default=true to
*bool
. Related to rancher/types#1083 - Fixed update on
rancher2_cluster_template
resource. Related to https://github.com/terraform-providers/terraform-provider-rancher2/issues/365
FEATURES:
ENHANCEMENTS:
BUG FIXES:
- Fix project alert group and alert rule datasource and resoruce documentation
- Added
version
argument tocluster_monitoring_input
argument onrancher2_cluster
andrancher2_project
resources - Fixed rancher timeout on bootstrapping
FEATURES:
ENHANCEMENTS:
- Added
fixNodeTemplateID
to fixrancher2_node_template
ID upgrading up to v2.3.3. Issue #195 - Updated rnacher to v2.4.2 on acceptance test
BUG FIXES:
- Fix
upgrading
state on resourceRancher2ClusterUpdate() function - Updated process for getting rke supported kubernetes version
- Set
version
argument onrancher2_catalog
as computed
FEATURES:
ENHANCEMENTS:
BUG FIXES:
- Fix init provider if api_url is dependent of infra that is not yet deployed
FEATURES:
- New Data Source:
rancher2_cluster_scan
ENHANCEMENTS:
- Added
wait_monitoring
argument torancher2_cluster_sync
resource - Added
retries
config argument andisRancherActive()
function - Updated go modules and vendor files to rancher v2.4.0
- Updated rancher to v2.4.0 and k3s to v1.17.4-k3s1 on acceptance tests
- New rancher v2.4.0 features:
- Added
group_principal_id
argument torancher2_global_role_binding
resource - Added
k3s_config
argument torancher2_cluster
datasource and resource - Added
version
argument torancher2_catalog
datasource and resource - Added
upgrade_strategy
argument torke_config
onrancher2_cluster
resource - Added
scheduled_cluster_scan
argument onrancher2_cluster
andrancher2_cluster_template
resources - Added
rancher2_cluster_scan
datasource
- Added
- Added
fixNodeTemplateID
to fixrancher2_node_template
ID upgrading up to v2.3.3. Issue #195
BUG FIXES:
- Added
enable_json_parsing
argument to cluster and project logging - Sync resource delete with rancher API
- Fix recipient update on cluster and project alert groups
FEATURES:
- New Data Source:
rancher2_pod_security_policy_template
- New Resource:
rancher2_pod_security_policy_template
ENHANCEMENTS:
- Updated
rancher/norman
go modules and vendor files - Added
plugin
optional valuenone
torke_config
argument onrancher2_cluster
resource - Updated multiline arguments to trim spaces by default and avoid false diff
- Updated
rancher/types
go modules and vendor files - Added
mtu
argument torke_config.network
argument onrancher2_cluster
resource - Added
custom_target_config
argument torancher2_cluster_logging
andrancher2_project_logging
resources - Updated
aks_config
,eks_config
andgke_config
arguments ti proper updterancher2_cluster
resource
BUG FIXES:
- Fix
audit_log.configuration.policy
argument torke_config.services.kube_api
argument onrancher2_cluster
resource - Added
plugin
optional valuenone
torke_config
argument onrancher2_cluster
resource - Updated multiline arguments to trim spaces by default and avoid false diff
- Updated
private_key_file
definition for openstack driver onrancher2_node_template
docs - Updated
private_key_file
definition for openstack driver onrancher2_node_template
docs - Fixed
rke_config.cloud_provider.aws_cloud_provider.global
argument as computed to avoid false diff
FEATURES:
ENHANCEMENTS:
- Added
refresh
argument torancher2_catalog
resource - Added
name
andis_external
arguments torancher2_user
datasource - Added
delete_not_ready_after_secs
andnode_taints
arguments tonode_pool
resource - Added
delete_not_ready_after_secs
andnode_taints
arguments torancher2_node_pool
resource - Updated
github.com/rancher/types
andgithub.com/rancher/norman
go modules and vendor files to support rancher v2.3.3 - Splitted schema, structure and test
cluster_rke_config_services
files for every rke service - Added
ssh_cert_path
argument torke_config
argument onrancher2_cluster
resource - Added
audit_log
,event_rate_limit
andsecrets_encryption_config
arguments torke_config.services.kube_api
argument onrancher2_cluster
resource - Added
generate_serving_certificate
argument torke_config.services.kubelet
argument onrancher2_cluster
resource - Added
driver_id
argument onrancher2_node_template
resource to reference user createdrancher2_node_driver
BUG FIXES:
- Fix
template_revisions
update onrancher2_cluster_template
resource - Fix
rke_config.services.kube_api.policy
argument onrancher2_cluster
resource - Fix
data
argument set as sensitive onrancher2_secret
resource
FEATURES:
ENHANCEMENTS:
- Added GetRancherVersion function to provider config
- Updated
vsphere_config
argument schema onrancher2_node_template
resource to support Rancher v2.3.3 features - Updated rancher to v2.3.3 and k3s to v0.10.2 on acceptance tests
BUG FIXES:
- Set
annotations
argument as computed onrancher2_node_template
resource - Added
rancher2_node_template
resource workaround on docs when upgrade Rancher to v2.3.3
FEATURES:
- New Resource:
rancher2_token
ENHANCEMENTS:
- Added
always_pull_images
argument onkube_api
argument onrke_config
argument forrancher2_clusters
resource - Added resource deletion if not getting active state on creation for
rancher2_catalog
resource - Updated rancher to v2.3.2 and k3s to v0.10.1 on acceptance tests
- Added
desired nodes
support oneks_config
argument onrancher2_cluster
resource - Added
managed disk
support onazure_config
argument onrancher2_node_template
resource - Migrated provider to use
terraform-plugin-sdk
- Updated
rancher2_etcd_backup
documentation
BUG FIXES:
- Fix
password
argument update forrancher2_catalog
resource - Fix
rancher2_app
update issue on Rancher v2.3.2 - Fix: set
key
argument as sensitive onrancher2_certificate
resource. - Fix continuous diff issues on
rancher2_project
resource - Fix
pod_security_policy_template_id
update onrancher2_project
resource - Fix continuous diff issues on
rancher2_namespace
resource
FEATURES:
- New Data Source:
rancher2_cluster_alert_group
- New Data Source:
rancher2_cluster_alert_rule
- New Data Source:
rancher2_cluster_template
- New Data Source:
rancher2_notifier
- New Data Source:
rancher2_project_alert_group
- New Data Source:
rancher2_project_alert_rule
- New Data Source:
rancher2_role_template
- New Resource:
rancher2_auth_config_keycloak
- New Resource:
rancher2_auth_config_okta
- New Resource:
rancher2_cluster_alert_group
- New Resource:
rancher2_cluster_alert_rule
- New Resource:
rancher2_cluster_sync
- New Resource:
rancher2_cluster_template
- New Resource:
rancher2_notifier
- New Resource:
rancher2_project_alert_group
- New Resource:
rancher2_project_alert_rule
- New Resource:
rancher2_role_template
ENHANCEMENTS:
- Added
monitoring_input
argument to define monitoring config forrancher2_cluster
andrancher2_project
- Improved capitalization/spelling/grammar/etc in docs
BUG FIXES:
- Fix
expandAppExternalID
function onrancher2_app
resource. Function was generating a wrongExternalID
catalog URL, oncluster
andproject
scope - Fix
flattenMultiClusterApp
function onrancher2_multi-cluster_app
resource. Function wasn't updating finecatalog_name
,template_name
and/ortemplate_version
arguments, when contains char-
- Fix: set
value_yaml
multiline argument as base64 encoded - Fix: removed
restricted
andunrestricted
values checking fordefault_pod_security_policy_template_id
argument onrancher2_cluster
resource
FEATURES:
- New Data Source:
rancher2_app
- New Data Source:
rancher2_certificate
- New Data Source:
rancher2_multi_cluster_app
- New Data Source:
rancher2_node_template
- New Data Source:
rancher2_secret
- New Resource:
rancher2_certificate
- New Resource:
rancher2_app
- New Resource:
rancher2_multi_cluster_app
- New Resource:
rancher2_secret
ENHANCEMENTS:
- Updated default image to
canonical:UbuntuServer:18.04-LTS:latest
on Azure node template - Added
folder
argument ons3_backup_config
- Updated
github.com/rancher/types
andgithub.com/rancher/norman
go modules and vendor files to support rancher v2.2.8 - Updated rancher to v2.2.8 and k3s to v0.8.0 on acceptance tests
- Added
key_pair_name
argument oneks_config
argument onrancher2_cluster
resource - Set
kubernetes_version
argument as required oneks_config
argument onrancher2_cluster
resource - Set
quantity
argument as optional with default value1
onrancher2_node_pool
resource. Added validation that value >= 1
BUG FIXES:
- Fix:
container_resource_limit
argument update issue onrancher2_namespace
andrancher2_project
resources update - Fix:
sidebar_current
definition on datasources docs - Fix: set
access_key
andsecret_key
arguments as optional ons3_backup_config
- Fix: crash
rancher2_cluster
datasource and resource ifenableNetworkPolicy
doesn't exist - Fix: don't delete builtin cluster nor node drivers from rancher on tf destroy
- Fix: wrong updates on not changed sensitive arguments on
rancher2_cluster_logging
andrancher2_project_logging
resources
FEATURES:
ENHANCEMENTS:
BUG FIXES:
- Fix: auth issue when using
access_key
andsecret_key
FEATURES:
- New Data Source:
rancher2_catalog
- New Data Source:
rancher2_cloud_credential
- New Data Source:
rancher2_cluster
- New Data Source:
rancher2_cluster_driver
- New Data Source:
rancher2_cluster_logging
- New Data Source:
rancher2_cluster_role_template_binding
- New Data Source:
rancher2_etcd_backup
- New Data Source:
rancher2_global_role_binding
- New Data Source:
rancher2_namespace
- New Data Source:
rancher2_node_driver
- New Data Source:
rancher2_node_pool
- New Data Source:
rancher2_project_logging
- New Data Source:
rancher2_project_role_template_binding
- New Data Source:
rancher2_registry
- New Data Source:
rancher2_user
- New Resource:
rancher2_global_role_binding
- New Resource:
rancher2_registry
- New Resource:
rancher2_user
ENHANCEMENTS:
- Set
session_token
argument as sensitive oneks_config
argument onrancher2_cluster
resource - Added
wait_for_cluster
argument onrancher2_namespace
andrancher2_project
resources - Set default value to
engine_install_url
argument onrancher2_node_template
resource - Added
enable_cluster_monitoring
argument torancher2_cluster
resource and datasource - Added
enable_project_monitoring
argument torancher2_project
resource and datasource - Added
token
argument oncluster_registration_token
argument to rancher2_cluster resource and datasource - Set default value to
engine_install_url
argument onrancher2_node_template
resource - Added
custom_ca
argument on etcds3_backup_config
onrancher2_cluster
andrancher2_etcd_backup
resources - Updated
github.com/rancher/types
andgithub.com/rancher/norman
go modules and vendor files to support rancher v2.2.6 - Updated rancher to v2.2.6 and k3s to v0.7.0 on acceptance tests
- Added cluster and project scope support on
rancher2_catalog
resource and datasource - Updated
provider
config validation to enable bootstrap and resource creation at same run - Added
container_resource_limit
argument onrancher2_namespace
andrancher2_project
resources and datasources - Added
pod_security_policy_template_id
onrancher2_project
resource
BUG FIXES:
- Fix:
toArrayString
andtoMapString
functions to checknil
values - Fix: Set
kubernetes_version
argument as required onaks_config
argument onrancher2_cluster
resource - Fix: Set
security_groups
,service_role
,subnets
andvirtual_network
arguments as optional toeks_config
argument onrancher2_cluster
resource - Fix: Removed
docker_version
argument fromrancher2_node_template
resource
FEATURES:
ENHANCEMENTS:
- Added
scheduler
argument toservices
-rke_config
argument onrancher2_cluster
resource
BUG FIXES:
- Fix: index out of range issue on
vsphere_cloud_provider
-cloud_provider
-rke_config
argument onrancher2_cluster
resource
FEATURES:
- New Data Source:
rancher2_project
ENHANCEMENTS:
- Added
cluster_auth_endpoint
argument torancher2_cluster
resource - Added
default_pod_security_policy_template_id
argument torancher2_cluster
resource - Added
enable_network_policy
argument torancher2_cluster
resource - Updated acceptance tests
- k3s version updated to v0.5.0
- Rancher version updated to v2.2.4
BUG FIXES:
- Fix: set default value to
true
onignore_docker_version
-rke_config
argument onrancher2_cluster
resource - Fix: set default value to
false
onpod_security_policy
-services
-rke_config
argument onrancher2_cluster
resource - Fix: typo on
boot2docker_url
-vsphere_config
argument name onrancher2_node_template
resource docs - Fix: set
monitor_delay
andmonitor_timeout
fields as string type for openstack load_balancer config oncloud_provider
-rke_config
argument onrancher2_cluster
resource - Fix: Updated
rancher2_etcd_backup
resource to work on rancher v2.2.4
FEATURES:
ENHANCEMENTS:
- Added
default_project_id
&system_project_id
attributes torancher2_cluster
resource - Added support to move
rancher2_namespace
resource to a rancher project when import - Added support to terraform 0.12
BUG FIXES:
- Fix: Updated
flattenNamespace
function onrancher2_namespace
resource to avoid no empty plan ifresource_quota
is not specified - Fix: Updated
rke_config
argument for openstack cloud_provider onrancher2_cluster
resource:- Removed
used_id
field on global argument in favour ofusername
following k8s openstack cloud provider docs - Set computed=true on optional field to avoid no empty plan if not specified
- Removed
- Initial Terraform Ecosystem Release
FEATURES:
ENHANCEMENTS:
- Updated
rancher2_cluster
rke_config
argument to supportaws_cloud_provider
config - Updated k3s version to v0.4.0 to run acceptance tests
- Added support to openstack and vsphere drivers on
rancher2_cloud_credential
resource - Added support to openstack and vsphere drivers on
rancher2_node_template
resource
BUG FIXES:
- Fix: Updated
rancher2_cluster
resource to save correctly S3 and cloud providers passwords onrke_config
- Updated
rancher2_cloud_credential
resource to save correctly S3 password - Updated
rancher2_etcd_backup
resource to save correctly S3 password
FEATURES:
- New Resource:
rancher2_bootstrap
- New Resource:
rancher2_cloud_credential
- New Resource:
rancher2_cluster_driver
- New Resource:
rancher2_etcd_backup
ENHANCEMENTS:
- Added
.drone.yml
file to also support run rancher pipeline - Added
rancher2_node_pool
resource tests - Added
rancher2_auth_config_*
resource tests - Updated and reviewed docs format
- Added support to rancher v2.2.x
- Updated
rancher2_cluster
rke_config
argument to support:- etcd service
backup_config
with local and S3 storage backends dns
configweave
network provider
- etcd service
- Splitted resources into own schema, structure and import files.
- Added support to amazonec2, azure and digitalocean drivers on
rancher2_cloud_credential
resource - Added support to local and S3 storage backends on
rancher2_etcd_backup
resource
BUG FIXES:
- Fix: drone build image to golang:1.12.3 to fix go fmt issues
- Fix: removed test on apply for
rancher2_auth_config_*
resources - Fix: updated
api_url
field as required on provider.go - Fix: updated
rancher2_namespace
move to a project after import it from k8s cluster
FEATURES:
ENHANCEMENTS:
- Added
Sensitive: true
option to fields with sensible data
BUG FIXES:
- Fix: set rke cluster
cloud_provider_vsphere
disk and network as optional and computed fields
FEATURES:
ENHANCEMENTS:
- Added
Sensitive: true
option to fields with sensible data - Added
kube_config
computed field on cluster resources - Added
ami
andassociate_worker_node_public_ip
fields foreks_config
on cluster resources - Added all available fields for rke_config on cluster resources
- Added
manifest_url
andwindows_node_command
fields forcluster_registration_token
on cluster resources - Added
creation
argument onetcd
service for rke_config on cluster resources
BUG FIXES:
- Fix: added updating pending state on cluster resource update
- Fix: checking if
cluster_registration_token
exists on cluster resource creation - Fix: typo on
gke_config
credential field on cluster resource - Fix: Updated auth resources to avoid permission denied error
FEATURES:
- New Resource:
rancher2_auth_config_activedirectory
- New Resource:
rancher2_auth_config_adfs
- New Resource:
rancher2_auth_config_azuread
- New Resource:
rancher2_auth_config_freeipa
- New Resource:
rancher2_auth_config_github
- New Resource:
rancher2_auth_config_openldap
- New Resource:
rancher2_auth_config_ping
- New Resource:
rancher2_catalog
- New Resource:
rancher2_cluster
- New Resource:
rancher2_cluster_logging
- New Resource:
rancher2_cluster_role_template_binding
- New Resource:
rancher2_namespace
- New Resource:
rancher2_node_driver
- New Resource:
rancher2_node_pool
- New Resource:
rancher2_node_template
- New Resource:
rancher2_project
- New Resource:
rancher2_project_logging
- New Resource:
rancher2_project_role_template_binding
- New Resource:
rancher2_setting
ENHANCEMENTS:
- First release candidate of the rancher2 provider.
- resource/rancher2_cluster: support for providers:
- Amazon EKS
- Azure AKS
- Google GKE
- Imported
- RKE
- Cloud providers adding node pools
- Custom
- resource/rancher2_cluster_logging: support for providers:
- Elasticsearch
- Fluentd
- Kafka
- Splunk
- Syslog
- resource/rancher2_namespace: quota limits support on Rancher v2.1.x or higher
- Amazon EC2
- Azure
- Digitalocean
- resource/rancher2_project: quota limits support on Rancher v2.1.x or higher
- resource/rancher2_project_logging: support for providers:
- Elasticsearch
- Fluentd
- Kafka
- Splunk
- Syslog
- resource/rancher2_node_template: support for providers:
BUG FIXES: