maintenance: Update Terraform kubernetes to v2
This MR contains the following updates:
Package | Type | Update | Change |
---|---|---|---|
kubernetes (source) | provider | major |
1.10.0 -> 2.1.0
|
Release Notes
hashicorp/terraform-provider-kubernetes
v2.1.0
BUG FIXES:
- Fix
kubernetes_cron_job
ForceNew when modifyingjob_template
(#1212) - Fix error returned by Create CSR (#1206)
- Fix
kubernetes_pod_disruption_budget
:100%
now is a valid value (#1107) - Fix perpetual diff in persistent volume claimRef (#1227)
IMMROVEMENTS:
- Add
binary_data
field tokubernetes_secret
(#1228) - Add support for setting the persistent volume claimRef (#1020)
- Add
secret_namespace
tovolume_source
azure_file
(#1204) - Docs: fix grammar in Network Policy (#1210)
- Docs:
kubernetes_cron_job
add link to Kubernetes reference (#1200)
v2.0.3
BUG FIXES:
- Fix resource_field_ref schema for projected_volume (#1189)
- Add diff suppression to persistent_volume and persistent_volume_claim (#1145)
- Remove error for missing kubeconfig, to allow generating it at apply time (#1142)
IMMROVEMENTS:
- Support topologySpreadConstraint in pod spec schema (#1022)
- Wait for kubernetes_ingress to be deleted (#1143)
- Improve docs for configuring the provider (#1132)
- Update docs to reflect Kubernetes service status attribute (#1148)
v2.0.2
BUG FIXES:
- Read operation should set resource id to null if not found (#1136)
IMMROVEMENTS:
- Add service timeouts docs (#963)
v2.0.1
BUG FIXES:
- Resources state migration should migrate empty array (#1124)
IMMROVEMENTS:
- Update docs to reflect new schema for
load_balancer_ingress
(#1123)
v2.0.0
BREAKING CHANGES:
- Replace support for
KUBECONFIG
environment variable withKUBE_CONFIG_PATH
(#1052) - Remove
load_config_file
attribute from provider block (#1052) - Remove default of
~/.kube/config
forconfig_path
(#1052) - Update Terraform SDK to v2 (#1027)
- Restructure service and ingress to match K8s API (#1071)
- Normalize
automount_service_account_token
to be in line with the K8s API (#1054) - Normalize
enable_service_links
to be in line with the K8s API (#1074) - Normalize wait defaults across Deployment, DaemonSet, StatefulSet, Service, Ingress, and Job (#1053)
- Change resources requests and limits to TypeMap (#1065)
FEATURES:
- Add timeout argument to kubernetes_stateful_set (#1047)
- Add divisor to resource_field_ref (#1063)
- Add ingressClassName as field in Ingress manifest (#1057)
BUG FIXES:
- Fix typo in Job error message (#1048)
- Fix assertion in TestAccKubernetesPersistentVolume_hostPath_nodeAffinty (#1067)
- Fix service load balancer crash (#1070)
- Fix
cronJob.ttl_seconds_after_finished
causing requests to fail even without value specified (#929) - Fix perpetual diff when using Pod resource with
automount_service_account_token=true
(#1085) - Fix perpetual diff in StatefulSet when
update_strategy
is not specified (#1088) - Fix delete/recreate when updating
init_containers
(#951) - Fix delete/recreate of Jobs when updating mutable fields (#1074)
IMMROVEMENTS:
v1.13.3
FEATURES:
- Add support for readiness_gate on Pod spec (#811)
- Add Azure Managed disk to PV resource (#202)
- Add support for enable_service_links to the pod specification (#975)
BUG FIXES:
- Fix annotation diffs on affinity tests (#993)
- Fix api_group requirement in cluster_role_binding and role_binding (#1024)
- Fix service test leaking ELBs (#947)
- Fix annotation diffs on affinity tests (#993)
- Fix job documentation
- Fix build on macOS (#1045) and windows/386
IMMROVEMENTS:
- Update Go dependencies (#968)
- Update acceptance tests for tfproviderlint (#887)
- Refactor Typhoon test configuration to allow selection of Kubernetes version (#992)
- Update Merge Request Lifecycle docs (#1032)
- CI checks for docs website (registry migration) (#953)
v1.13.2
BUG FIXES:
- Fix spurious forced replacement in empty_dir volume (#985)
- Fix reported replica count when waiting for Deployment rollout (#998)
- health_check_port_node should force replacement (#986)
- Don't force replacement StatefulSet / Deployment when affinity rule selectors change (#755)
IMMROVEMENTS:
- Wait for
kubernetes_service
to be deleted - Updates to CONTRIBUTING.md and PULL_REQUESTS.md
v1.13.1
BUG FIXES:
- Fix crash when size_limit is not present on empty_dir volume (#983)
v1.13.0
FEATURES:
IMMROVEMENTS:
- Allow in-place update of PVC's storage request (#957)
- Add sysctl support to pod spec (#938)
- Add ability to wait for deployment to delete (#937)
- Add support for
aggregation_rule
tocluster_role
resource (#911) - Add
health_check_node_port
to Service resource (#908) - Add support for
size_limit
forempty_dir
block (#912) - Add support for volume mode (#939)
- Add projected volumes in pod_spec (#907)
- Add termination_message_policy to container schema (#847)
BUG FIXES:
- Recreate Storage Class on VolumeBindingMode update (#757)
- Fix url attribute in admissionregistration client_config.service block (#959)
- Fix crash when deferencing nil pointer in v1beta1.IngressRule (#967)
v1.12.0
BUG FIXES:
- Fix crash in
resource_kubernetes_pod_security_policy
attributehost_ports
(#931)
IMMROVEMENTS:
- Add
wait_for_rollout
tokubernetes_deployment
resource (#863) - Add
wait_for_rollout
tokubernetes_stateful_set
resource (#605)
v1.11.4
IMMROVEMENTS:
- Add resource for CSIDriver (#825)
- Add resource for Pod Security Policies (#861)
- Add data source for Pod and PVC (#786)
- Add support for CSI volume type in persistent_volume resource (#817)
- Add Kubernetes Job
wait_for_completion
functionality (#625) - Support
optional
flag for ConfigMap mounted as volume (#823) - Add specific error message when failing to load provider config (#780)
- Support
optional
on env valueFrom for secret key/configmap key (#824) - Skip tests for CSIDriver if cluster version is less than 1.16
- Allow
ttl_seconds_after_finished = 0
inkubernetes_job
resource (#849) - Set service block to
optional
for webhook configurations (#902)
v1.11.3
IMMROVEMENTS:
v1.11.2
IMMROVEMENTS:
- Add data source for config map (#76)
- Add data source for service account (#523)
- Add resource for ValidatingWebHookConfiguration and MutatingWebhookConfiguration (#791)
BUG FIXES:
- Update Go module versions to work with Go 1.13
v1.11.1
IMMROVEMENTS:
- Bump provider SDK to v1.7.0
BUG FIXES:
- Defer client initialization to improve resilience (#759)
v1.11.0
IMMROVEMENTS:
- Add
mount_options
attribute tokubernetes_persistent_volume
andkubernetes_storage_class
- Refactor client config initialization and fix in-cluster config (#679) (#497)
BUG FIXES:
- Do not force base64 encoding for the
ca_bundle
onkubernetes_api_service
(#679) - Allow 3s age gap between
service account
andsecret
(issue) - Add
load_config_file = false
to documented provider configurations - Add support for
startup_probe
on container spec - Fix (cluster-)role bindings and rules updates (#713)
- Fix namespacing issues on kubernetes_priority_class (#680) See comment on backward compatibility
- Documentation fixes
Configuration
-
If you want to rebase/retry this MR, check this box.
This MR has been generated by Renovate Bot.
Edited by Zopanix