Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Terraform kubernetes to v2 #21

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jan 23, 2021

This PR contains the following updates:

Package Type Update Change
kubernetes (source) provider major ~> 1.8.1 -> ~> 2.35.0

Release Notes

hashicorp/terraform-provider-kubernetes (kubernetes)

v2.35.0

Compare Source

FEATURES:

  • resources_kubernetes_daemon_set_v1 : Added max_surge argument for to rolling_update block. [GH-2630]

v2.34.0

Compare Source

ENHANCEMENTS:

  • Added conditions attribute to kubernetes_nodes data source, which will provide detailed node health and status information [GH-2612]
  • Adding the kubernetes_secret_v1_data resource to the kubernetes provider. This resource will allow users to manage kubernetes secrets [GH-2604]
  • Properly handle Kubernetes Jobs with ttl_seconds_after_finished = 0 to prevent unnecessary recreation. [GH-2596]

FEATURES:

  • New ephemeral resource: kubernetes_certificate_signing_request_v1 [GH-2628]
  • New ephemeral resource: kubernetes_token_request_v1 [GH-2628]

v2.33.0

Compare Source

ENHANCEMENTS:

  • Add backoff_per_limit_index and max_failed_indexes fields in structure_job.go [GH-2421]
  • Added support for namespace_selector field in PodAffinityTerm to enhance pod affinity and anti-affinity rules, allowing selection of namespaces based on label selectors. [GH-2577]
  • kubernetes_manifest - handling "404 Not Found" errors during the deletion of Kubernetes resources, particularly in cases where the resource may have already been deleted by an operator managing the CRD before Terraform attempts to delete it. [GH-2592]
  • schema_container.go: Add VolumeDevices [GH-2573]

v2.32.0

Compare Source

FEATURES:

  • New data source: kubernetes_server_version [GH-2306]

ENHANCEMENTS:

  • resource/kubernetes_certificate_signing_request_v1: Add argument spec.expiration_seconds [GH-2559]
  • resource/kubernetes_persistent_volume_v1: support ReadWriteOncePod access mode for PVs [GH-2488]

v2.31.0

Compare Source

ENHANCEMENTS:

  • Add support for Terraform's experimental deferred actions [GH-2510]

v2.30.0

Compare Source

BUG FIXES:

  • data_source/kubernetes_resources: fix an issue where the provider exit with an error when the data source kubernetes_resources receives multiple Kubernetes objects containing tuples with different numbers of elements. [GH-2372]
  • kubernetes_manifest: fix issue preventing KUBE_PROXY_URL environment variable from being used in client configuration (#​1733) [GH-2485]
  • resource/kubernetes_node_taint: Fix the error check for nonexistant nodes so that terraform does not fail if there is a taint in the state file for a node that has been deleted. [GH-2402]

DOCS:

  • Migrate legacy structure to new tfplugindocs template structure [GH-2470]

v2.29.0

Compare Source

BUG FIXES:

  • data-sources: revert a recently introduced deviation on datasources where querying a non-existent resource would cause an error (#​2434). [GH-2464]

v2.28.1

Compare Source

HOTFIX:

  • manifest_decode(): fix handling of manifests containing null values [GH-2461]

v2.28.0

Compare Source

ENHANCEMENTS:

NOTE: Using Provider Defined Functions requires Terraform version 1.8.0.

  • Add provider defined functions: manifest_encode, manifest_decode, manifest_decode_multi [GH-2428]

v2.27.0

Compare Source

ENHANCEMENTS:

  • resource/kubernetes_pod_v1: add missing topology_spread_constraints: node_affinity_policy, node_taints_policy, match_label_keys, min_domains [GH-2429]

v2.26.0

Compare Source

ENHANCEMENTS:

  • kubernetes/kubernetes_deployment_v1: Add support for HugePages in emptyDir.medium [GH-2395]
  • resource/kubernetes_job_v1: add new attribute spec.pod_failure_policy to job spec [GH-2394]

NOTES:

  • Bump Kubernetes dependencies from x.27.8 to x.28.6. [GH-2404]

v2.25.2

Compare Source

BUG FIXES:

  • resource/kubernetes_cron_job_v1: fix an issue when the provider forces a resource recreation after upgrading to 2.25.0 and 2.25.1 due to changes in the resource schema. [GH-2387]
  • resource/kubernetes_cron_job: fix an issue when the provider forces a resource recreation after upgrading to 2.25.0 and 2.25.1 due to changes in the resource schema. [GH-2387]
  • resource/kubernetes_daemon_set_v1: fix an issue when the provider forces a resource recreation after upgrading to 2.25.0 and 2.25.1 due to changes in the resource schema. [GH-2387]
  • resource/kubernetes_daemonset: fix an issue when the provider forces a resource recreation after upgrading to 2.25.0 and 2.25.1 due to changes in the resource schema. [GH-2387]
  • resource/kubernetes_stateful_set_v1: fix an issue when the provider forces a resource recreation after upgrading to 2.25.0 and 2.25.1 due to changes in the resource schema. [GH-2387]
  • resource/kubernetes_stateful_set: fix an issue when the provider forces a resource recreation after upgrading to 2.25.0 and 2.25.1 due to changes in the resource schema. [GH-2387]

NOTES:

  • Resources kubernetes_cron_job_v1 and kubernetes_cron_job got a new attribute spec.job_template.metadata.namespace. It is a stub attribute that does not affect the namespace in which the Pod will be created. The Pod will be created in the same namespace as the main resource. However, modifying this field will force the resource recreation. [GH-2387]
  • Resources kubernetes_stateful_set_v1, kubernetes_stateful_set, kubernetes_daemon_set_v1, and kubernetes_daemonset got a new attribute spec.template.metadata.namespace. It is a stub attribute that does not affect the namespace in which the Pod will be created. The Pod will be created in the same namespace as the main resource. However, modifying this field will force the resource recreation. [GH-2387]

v2.25.1

Compare Source

HOTFIX:

  • kubernetes_manifest: Implement response for GetMetadata protocol function [GH-2384]

v2.25.0

Compare Source

ENHANCEMENTS:

  • Add terraform-plugin-framework provider [GH-2347]
  • data_source/kubernetes_persistent_volume_claim_v1: add a new attribute spec.volume_mode. [GH-2353]
  • data_source/kubernetes_persistent_volume_claim: add a new attribute spec.volume_mode. [GH-2353]
  • kubernetes/schema_stateful_set_spec.go: Add spec.persistentVolumeClaimRetentionPolicy in kubernetes_stateful_set [GH-2333]
  • resource/kubernetes_persistent_volume_claim_v1: add a new attribute spec.volume_mode. [GH-2353]
  • resource/kubernetes_persistent_volume_claim: add a new attribute spec.volume_mode. [GH-2353]
  • resource/kubernetes_stateful_set_v1: add a new attribute spec.volume_claim_template.spec.volume_mode. [GH-2353]
  • resource/kubernetes_stateful_set: add a new attribute spec.volume_claim_template.spec.volume_mode. [GH-2353]

BUG FIXES:

  • resource/kubernetes_cron_job_v1: Change the schema to include a namespace in jobTemplate
    resource/kubernetes_stateful_set_v1: Change the schema to include a namespace in template [GH-2362]
  • resource/kubernetes_ingress_v1: Fix an issue where the empty tls attribute in the configuration does not generate the corresponding Ingress object without any TLS configuration. [GH-2344]
  • resource/kubernetes_ingress: Fix an issue where the empty tls attribute in the configuration does not generate the corresponding Ingress object without any TLS configuration. [GH-2344]

NOTES:

  • We have updated the logic of data sources and now the provider will return all annotations and labels attached to the object, regardless of the ignore_annotations and ignore_labels provider settings. In addition to that, a list of ignored labels when they are attached to kubernetes_job(_v1) and kubernetes_cron_job(_v1) resources were extended with labels batch.kubernetes.io/controller-uid and batch.kubernetes.io/job-name since they aim to replace controller-uid and job-name in the future Kubernetes releases. [GH-2345]

A special and warm welcome to the first contribution from our teammate @​SarahFrench! 🚀

v2.24.0

Compare Source

ENHANCEMENTS:

kubernetes/schema_affinity_spec.go: Add match_fields to nodeAffinity [GH-2296]
kubernetes/schema_pod_spec.go: Add os to podSpecFields [GH-2290]
resource/kubernetes_config_map_v1_data: improve error handling while validating the existence of the target ConfigMap. [GH-2230]

BUG FIXES:

  • resource/kubernetes_labels: Add ["f:metadata"] check in kubernetes_labels to prevent crash with kubernetes_node_taints [GH-2246]

DOCS:

  • Add example module for configuring OIDC authentication on EKS [GH-2287]
  • Add example module for configuring OIDC authentication on GKE [GH-2319]

NOTES:

  • Bump Go version from 1.20 to 1.21. [GH-2337]
  • Bump Kubernetes dependencies from x.25.11 to x.27.8.

v2.23.0

Compare Source

FEATURES:

  • resource/kubernetes_cron_job_v1: add a new volume type ephemeral to spec.job_template.spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_cron_job: add a new volume type ephemeral to spec.job_template.spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_daemon_set_v1: add a new volume type ephemeral to spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_daemonset: add a new volume type ephemeral to spec.template.spec..volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_deployment_v1: add a new volume type ephemeral to spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_deployment: add a new volume type ephemeral to spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_job_v1: add a new volume type ephemeral to spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_job: add a new volume type ephemeral to spec.template.spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_pod_v1: add a new volume type ephemeral to spec.volume to support generic ephemeral volumes. [GH-2199]
  • resource/kubernetes_pod: add a new volume type ephemeral to spec.volume to support generic ephemeral volumes. [GH-2199]

ENHANCEMENTS:

  • resource/kubernetes_endpoint_slice_v1: make attribute endpoint.condition optional. If you had previously included an empty block condition {} in your configuration, we request you to remove it. Doing so will prevent receiving continuous "update in-place" messages while performing the plan and apply operations. [GH-2208]
  • resource/kubernetes_pod_v1: add a new attribute target_state to specify the Pod phase(s) that indicate whether it was successfully created. [GH-2200]
  • resource/kubernetes_pod: add a new attribute target_state to specify the Pod phase(s) that indicate whether it was successfully created. [GH-2200]

BUG FIXES:

  • resource/kubernetes_manifest: update flow in wait block to fix timeout bug within tf apply where the resource is created and appears in Kubernetes but does not appear in TF state file after deadline. The fix would ensure that the resource has been created in the state file while also tainting the resource requiring the user to make the necessary changes in order for their to not be another timeout error. [GH-2163]

DOCS:

  • Fix external broken links in the documentation. [GH-2221]

v2.22.0

Compare Source

FEATURES:

  • kubernetes/data_source_kubernetes_persistent_volume.go: Add data source for Kubernetes Persistent Volume Resource [GH-2118]
  • kubernetes/resource_kubernetes_namespace.go: Add attribute wait_for_default_service_account to namespaces which will force Terraform to wait until the default service account has been created by Kubernetes on namespace creation. [GH-2119]
  • kubernetes/resource_kubernetes_endpointslice.go: Add kubernetes_endpoint_slice resource [GH-2086]

ENHANCEMENTS:

  • kubernetes/provider.go: Add tls_server_name kubernetes provider options. [GH-1638]

BUG FIXES:

  • resource/kubernetes_manifest: fix an issue in the kubernetes_manifest resource when it panics if tuple attributes within an object have a different number of elements. This leads to the situation when all types of end tuples are getting the same type. [GH-2164]
  • resource/kubernetes_manifest: fix an issue with the kubernetes_manifest resource, where an object fails to update correctly when employing wait conditions and thus some attributes are not available for the reference after creation. [GH-2173]

v2.21.1

Compare Source

HOTFIX:

  • Revert add "conflictsWith" to provider block schema. [GH-2131]

v2.21.0

Compare Source

FEATURES:

  • resource/kubernetes_runtime_class_v1: Add a new resource kubernetes_runtime_class_v1. [GH-2080]

ENHANCEMENTS:

  • kubernetes/provider.go: add conflictsWith rules to provider configuration schema [GH-2084]
  • kubernetes/resource_kubernetes_service_account.go: Remove default_secret_name warning [GH-2085]
  • resource/kubernetes_node_taint Update import documentation GH-2094

BUG FIXES:

  • resource/kubernetes_node_taint: Don't fail when there is a taint in the state file for a node that no longer exists. [GH-2099]
  • resource/kubernetes_job: Fixed a bug where setting backoff_limit to 6 would reset it to 0

v2.20.0

Compare Source

ENHANCEMENTS:

kubernetes/resource_kubernetes_env.go: add support for initContainers [GH-2067]
kubernetes/resource_kubernetes_node_taint.go: Remove MaxItems from taint attribute [GH-2046]

BUG FIXES:

  • Fix diff after import when importing resources containing volume_mount [GH-2061]
  • resource/kubernetes_node_taint: Fix an issue when updating taint does not update the ID in the state file. [GH-2077]

v2.19.0

Compare Source

FEATURES:

New Resource: kubernetes_token_request_v1. [GH-2024]

BUG FIXES:

  • data_source/kubernetes_secret_v1: Fix an issue where data_source cannot read secret created with generate_name. [GH-2028]
  • data_source/kubernetes_secret: Fix an issue where data_source cannot read secret created with generate_name. [GH-2028]
  • kubernetes/schema_pod_spec.go: Fix unexpected volumes appearing on plan [GH-2006]
  • resource/kubernetes_cron_job_v1: Fix annotation logic to prevent internalkeys from being removed in templates [GH-1983]
  • resource/kubernetes_manifest: Fix a panic when constructing the diagnostic message about incompatible attribute types [GH-2054]
  • resource/kubernetes_manifest: Fix crash when manifest config contains unknown values of unknown type (DynamicPseudoType) [GH-2055]

v2.18.1

Compare Source

HOTFIX:

  • kubernetes_manifest: fix crash when waiting on conditions that are not yet present [GH-2008]

v2.18.0

Compare Source

FEATURES:

  • New data source: data_source/kubernetes_nodes. [GH-1921]
  • New data source: data_source/kubernetes_resources. [GH-1967]
  • New resource: resource/kubernetes_node_taint. [GH-1921]

ENHANCEMENT:

  • resource/kubernetes_annotations: Add a new attribute template_annotations that allows adding annotations to resources with pod templates. [GH-1972]
  • resource/kubernetes_cron_job_v1: Add a new attribute spec.timezone. [GH-1971]

BUG FIXES:

  • resource/kubernetes_mutating_webhook_configuration: Fix an issue when the delete operation may not be idempotent. [GH-1999]
  • resource/kubernetes_network_policy_v1: Fix an issue when the delete operation may not be idempotent. [GH-1999]
  • resource/kubernetes_network_policy: Fix an issue when the delete operation may not be idempotent. [GH-1999]
  • resource/kubernetes_persistent_volume_claim_v1: Fix an issue when the delete operation may not be idempotent. [GH-1999]
  • resource/kubernetes_persistent_volume_claim: Fix an issue when the delete operation may not be idempotent. [GH-1999]
  • resource/kubernetes_storage_class_v1: Fix an issue when changing the value of the attribute allow_volume_expansion does not alter Kubernetes resource. [GH-1519]
  • resource/kubernetes_storage_class: Fix an issue when changing the value of the attribute allow_volume_expansion does not alter Kubernetes resource. [GH-1519]

DOCS:

  • New data source: data_source/kubernetes_nodes. [GH-1921]
  • New data source: data_source/kubernetes_resources. [GH-1967]
  • New resource: resource/kubernetes_node_taint. [GH-1921]
  • provider: Add a note regarding the KUBECONFIG environment variable. [GH-1989]
  • resource/kubernetes_annotations: Add a new attribute template_annotations. [GH-1972]
  • resource/kubernetes_job_v1: Add documentation for the attribute spec.completion_mode. [GH-1997]
  • resource/kubernetes_job: Add documentation for the attribute spec.completion_mode. [GH-1997]
  • resource/resource_kubernetes_cron_job_v1: Add a new attribute spec.timezone. [GH-1971]

v2.17.0

Compare Source

ENHANCEMENT:

  • Add a new optional attribute grpc to pod.spec.container.liveness_probe, pod.spec.container.readiness_probe, and pod.spec.container.startup_probe. That affects all resources and data sources that use mentioned pod.spec.container probes directly or as a template. [GH-1915]
  • resource/kubernetes_cluster_role_binding_v1: add attribute generate_name to produce a unique random name [GH-1899]
  • resource/kubernetes_cluster_role_binding: add attribute generate_name to produce a unique random name [GH-1899]
  • resource/kubernetes_cluster_role_v1: add attribute generate_name to produce a unique random name [GH-1899]
  • resource/kubernetes_cluster_role: add attribute generate_name to produce a unique random name [GH-1899]
  • resource/kubernetes_ingress_v1: add create and delete timeouts [GH-1936]
  • resource/kubernetes_ingress_v1: make the attribute spec.ingress_class_name computed [GH-1947]
  • resource/kubernetes_persistent_volume_v1: add additional validation on the delete operation to make it idempotent [GH-1935]
  • resource/kubernetes_persistent_volume: add additional validation on the delete operation to make it idempotent [GH-1935]
  • resource/kubernetes_role_binding_v1: add attribute generate_name to produce a unique random name [GH-1899]
  • resource/kubernetes_role_binding: add attribute generate_name to produce a unique random name [GH-1899]

v2.16.1

Compare Source

ENHANCEMENTS:

  • Add additional validation on the delete operation to make it idempotent. [GH-1914], [GH-1919], [GH-1898]

This affects the following resources:

  • kubernetes_api_service
  • kubernetes_api_service_v1
  • kubernetes_cluster_role
  • kubernetes_cluster_role_v1
  • kubernetes_cluster_role_binding
  • kubernetes_cluster_role_binding_v1
  • kubernetes_config_map
  • kubernetes_config_map_v1
  • kubernetes_daemonset
  • kubernetes_daemon_set_v1
  • kubernetes_deployment
  • kubernetes_deployment_v1
  • kubernetes_endpoints
  • kubernetes_endpoints_v1
  • kubernetes_horizontal_pod_autoscaler
  • kubernetes_horizontal_pod_autoscaler_v1
  • kubernetes_horizontal_pod_autoscaler_v2beta2
  • kubernetes_horizontal_pod_autoscaler_v2
  • kubernetes_mutating_webhook_configuration
  • kubernetes_mutating_webhook_configuration_v1
  • kubernetes_network_policy
  • kubernetes_network_policy_v1
  • kubernetes_persistent_volume_claim
  • kubernetes_persistent_volume_claim_v1
  • kubernetes_pod
  • kubernetes_pod_v1
  • kubernetes_pod_disruption_budget
  • kubernetes_pod_disruption_budget_v1
  • kubernetes_pod_security_policy
  • kubernetes_pod_security_policy_v1beta1
  • kubernetes_priority_class
  • kubernetes_replication_controller
  • kubernetes_resource_quota
  • kubernetes_role
  • kubernetes_role_binding
  • kubernetes_secret
  • kubernetes_namespace
  • kubernetes_service
  • kubernetes_service_account
  • kubernetes_stateful_set
  • kubernetes_storage_class
  • kubernetes_validating_webhook_configuration
  • kubernetes_validating_webhook_configuration_v1

Special thanks to @​sheneska for making these changes as part of her internship @​hashicorp! 🚀

v2.16.0

Compare Source

FEATURES:

  • New data source: kubernetes_endpoints_v1 [GH-1805]

ENHANCEMENT:

  • Add a new optional attribute runtime_class_name to pod.spec. That affects all resources and data sources that use pod.spec directly or as a template. [GH-1895]
  • Add a new optional attribute fs_group_change_policy to pod.spec.security_context. That affects all resources and data sources that use pod.spec directly or as a template. [GH-1892]
  • The kubernetes status field is now available in the kubernetes_resource datasource [GH-1802]
  • r/kubernetes_pod_v1: changing values of spec.container.resources.limits or spec.container.resources.requests will force resource recreation. [GH-1889]
  • r/kubernetes_pod: changing values of spec.container.resources.limits or spec.container.resources.requests will force resource recreation. [GH-1889]

BUG FIXES:

  • Fix an issue when changing values of spec.container.resources.limits or spec.container.resources.requests does not update appropriate Kubernetes resources. Affected resources: kubernetes_pod, kubernetes_pod_v1. [GH-1889]
  • Fix an issue when empty values of spec.container.resources.limits or spec.container.resources.requests produce continuous diff output during plan although no real changes were made. Affected resources: kubernetes_pod, kubernetes_pod_v1, kubernetes_daemonset, kubernetes_daemon_set_v1, kubernetes_deployment, kubernetes_deployment_v1. [GH-1889]
  • Fix an issue with timeouts for StatefulSet, Deployment, and DaemonSet resources when in some cases changes of Update or Create timeout doesn't affect related actions. [GH-1902]

DOCS:

  • resource/kubernetes_service_account_v1: mark attribute default_secret_name as deprecated [GH-1883]
  • resource/kubernetes_service_account: mark attribute default_secret_name as deprecated [GH-1883]

Thanks to all our contributors! 🎉

v2.15.0

Compare Source

ENHANCEMENT:

  • Add new resource resource_kubernetes_env [GH-1838]
  • Add "field_manager" attribute to kubernetes_labels, kubernetes_annotations, kubernetes_config_map_v1_data [GH-1831]
  • r/kubernetes_horizontal_pod_autoscaler_v2: make attribute spec.behavior.scale_down computed [GH-1853]
  • r/kubernetes_horizontal_pod_autoscaler_v2: make attribute spec.behavior.scale_up computed [GH-1853]
  • r/kubernetes_horizontal_pod_autoscaler_v2: make attribute spec.behavior computed [GH-1853]
  • r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute spec.behavior.scale_down computed [GH-1853]
  • r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute spec.behavior.scale_up computed [GH-1853]
  • r/kubernetes_horizontal_pod_autoscaler_v2beta2: make attribute spec.behavior computed [GH-1853]

v2.14.0

Compare Source

ENHANCEMENT:

  • Added "preemption_policy" attribute to the priority_class resource. [GH-1846]
  • new attribute: Add immutable attribute to resource_config_map [GH-1849]
  • resource/kubernetes_secret: Add a new attribute wait_for_service_account_token and corresponding create timeout
    resource/kubernetes_secret_v1: Add a new attribute wait_for_service_account_token and corresponding create timeout [GH-1833]

DOCS:

  • r/kubernetes_service: make spec.port block optional [GH-1856]
  • r/kubernetes_service_v1: make spec.port block optional [GH-1856]

v2.13.1

Compare Source

BUG FIXES:

  • [TK-78009] Fix propagation of non-fatal Diagnostics in the type morphing logic

v2.13.0

Compare Source

BUG FIXES:

  • Starting from Kubernetes 1.24.0 service account token is not automatically generated, thus it has to create separately. The following resources were updated to handle this change: d/kubernetes_service_account, r/kubernetes_default_service_account, r/kubernetes_service_account. For Kubernetes clusters running v1.24+ default_secret_name will be empty. A warning message will be printed once any of the above resources are in use. (#​1792)

IMPROVEMENTS:

  • r/kubernetes_manifest: Better error messages from OpenAPI schema transformations (#​1780)
  • Update documentation and correct some errors (#​1768, #​1786)
  • Update acceptance tests infrastructure code for GKE and AKE and related GitHub Actions

v2.12.1

Compare Source

IMPROVEMENTS:

  • Update documentation and correct some errors (#​1759)

BUG FIXES:

  • Fix type morphing of nested tuples that causes Failed to morph errors (#​1756)
  • Fix an issue when provider crashes intermittently in version v2.12.0 (#​1762)

v2.12.0

Compare Source

NEW:

  • Attribute ignore_annotations of provider (#​746)
  • Attribute ignore_labels of provider (#​746)
  • Attribute condition to wait block of kubernetes_manifest (#​1595)
  • Attribute allocate_load_balancer_node_ports of kubernetes_service(_v1) (#​1683)
  • Attribute cluster_ips of kubernetes_service(_v1) (#​1683)
  • Attribute internal_traffic_policy of kubernetes_service(_v1) (#​1683)
  • Attribute load_balancer_class of kubernetes_service(_v1) (#​1683)
  • Attribute session_affinity_config of kubernetes_service(_v1) (#​1683)

IMPROVEMENTS:

BUG FIXES:

  • Fix kubernetes_default_service_account doesn't set the automount_service_account_token to false (#​1247)
  • Fix an issue when the imported kubernetes_manifest resource is replaced instead of getting updated (#​1712)
  • Fix provider crash when image_pull_secret of kubernetes_service_account(_v1) is null

v2.11.0

Compare Source

NEW:

  • Add a new resource kubernetes_horizontal_pod_autoscaler_v2 (#​1674)

IMPROVEMENTS:

  • Add ip_families and ip_family_policy attributes to kubernetes_service (#​1662)
  • Handle x-kubernetes-preserve-unknown-fields type annotation from OpenAPI: changes to attributes of this type trigger whole resource recreation. (#​1646)
  • Upgrade terraform-plugin-mux to v0.6.0 (#​1686)
  • Add GitHub action for EKS acceptance tests (#​1656)
  • Add github action for acceptance tests using kind (#​1691)

BUG FIXES:

  • Fix conversion of big.Float to float64 in kubernetes_manifest (#​1661)
  • Fix identification of int-or-string type attributes to include 3rd party types defined by aggregated APIs (#​1640)
  • Fix not handling multiple cluster_role_selectors of kubernetes_cluster_role(_v1) (#​1360)

v2.10.0

Compare Source

NEW:

  • Resource kubernetes_labels (#​692)
  • Resource kubernetes_annotations (#​692)
  • Resource kubernetes_config_map_v1_data (#​723)
  • Block wait with attribute rollout of kubernetes_manifest (#​1549)
  • Data source and resource attributes app_protocol of kubernetes_service (#​1554)
  • Attribute container_resource of resource kubernetes_horizontal_pod_autoscaler_v2beta2 (#​1637)

IMPROVEMENTS:

  • Deprecate wait_for attribute in favor of wait block in kubernetes_manifest (#​1549)
  • Make attribute rule optional of kubernetes_validating_webhook_configuration(_v1) and kubernetes_mutating_webhook_configuration(_v1) (#​1618, #​1643)
  • Update documentation and correct some errors (#​1622, #​1628, #​1657, #​1681)

BUG FIXES:

  • Fix crash when multiple match_expression are used in kubernetes_resource_quota (#​1561)
  • Fix issue when in some circumstances changes of seLinuxOptions.Type doesn't reflect in the state file (#​1650)
  • Ignore service account volumes with kube-api-access prefix (#​1663)

v2.9.0

Compare Source

IMPROVEMENTS:

  • Add attribute csi to pod spec (#​1092)
  • Add kubernetes_resource data source (#​1548)
  • kubernetes_manifest resource force the re-creation of the resource when either apiVersion or kind attributes change (#​1593)
  • Make attribute http of resource kubernetes_ingress_v1 optional (#​1613)
  • Add a new attribute seccomp_profile to pod and container spec (#​1617)
  • Add additional check to resource kubernetes_job_v1 when attributes wait_for_completion and ttl_seconds_after_finished are used together (#​1619)
  • Update documentation examples and correct some errors (#​1597, #​1611, #​1612, #​1626)

BUG FIXES:

  • Fix logic of wait_for_rollout attribute of kubernetes_deployment (#​1405)
  • Fix fail when the provider cannot determine default_secret_name (#​1634)

v2.8.0

Compare Source

IMPROVEMENTS:

  • Add mutating_webhook_configuration_v1 data source (#​1423)
  • Remove enabling experiment section (#​1564)
  • Update kubernetes dependencies (#​1574)
  • Update terraform-plugin-go and terraform-plugin-sdk (#​1551)

BUG FIXES:

  • Fix panic: lists must only contain one type of element errors on kubernetes_manifest
  • Attribute backend.service.port.name in kubernetes_ingress_v1 should be type String (#​1541)

v2.7.1

Compare Source

BUG FIXES:

  • Fix type-morphing of Map into Map (#​1521)

v2.7.0

Compare Source

IMPROVEMENTS:

  • Add support for storage/v1
  • Add support for certificates/v1
  • Add support for networking/v1
  • Add support for policy/v1
  • Add completion_mode to job spec
  • Improve performance of kubernetes_manifest by reducing amount of API calls

BUG FIXES:

  • Fix crash when container env block is empty
  • Fix invalid allowedHostPaths PodSecurityPolicy patch
  • Fix handling of "null" values on fields of kubernetes_manifest (#​1478)

This release introduces version suffixes to the names of resources and datasources. See our documentation page for more details on this convention and the motivation behind it.

v2.6.1

Compare Source

BUG FIXES:

  • Fix import ID syntax in manifest import docs
  • Tolerate unknown values in "env" and "exec" provider attributes
  • Remove "beta" designation of the kubernetes_manifest from documentation

v2.6.0

Compare Source

IMPROVEMENTS:

  • kubernetes_manifest is now GA and enabled by default

BUG FIXES:

  • kubernetes_manifest now correctly handles empty blocks as attribute values (#​1352)
  • kubernetes_manifest now correctly handles multiple CRDs with different number of schema versions (#​1460)

v2.5.1

Compare Source

IMPROVEMENTS:


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@google-cla google-cla bot added the cla: yes label Jan 23, 2021
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 58fc538 to 1963c53 Compare April 26, 2021 12:27
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 1963c53 to 63930c4 Compare May 15, 2021 19:29
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 63930c4 to 992747e Compare June 6, 2021 22:52
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 992747e to c122841 Compare October 19, 2021 02:27
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from c122841 to efc9d37 Compare March 7, 2022 17:46
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from efc9d37 to 9e9c3c2 Compare March 26, 2022 13:05
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 9e9c3c2 to c982edf Compare April 25, 2022 00:46
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from c982edf to bb0b4a4 Compare May 15, 2022 20:30
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from bb0b4a4 to 55a1941 Compare September 25, 2022 20:24
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 55a1941 to d8923da Compare November 20, 2022 15:32
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from d8923da to 7c345d0 Compare February 1, 2023 01:40
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 7c345d0 to b2cd2fb Compare February 15, 2023 10:19
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from b2cd2fb to 26d3809 Compare April 1, 2023 05:42
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 26d3809 to 5fe4a12 Compare May 1, 2023 03:26
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 5fe4a12 to cfa6202 Compare June 2, 2023 15:07
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from cfa6202 to 851c7a3 Compare July 12, 2023 11:01
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 851c7a3 to c1ee642 Compare August 16, 2023 16:53
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from c1ee642 to bf8f634 Compare November 27, 2023 21:08
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from bf8f634 to e7e031f Compare January 4, 2024 13:45
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from e7e031f to 5c91113 Compare February 16, 2024 04:24
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 5c91113 to 6fa8da2 Compare March 7, 2024 00:54
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch 2 times, most recently from 65db90e to fa9304a Compare April 11, 2024 15:27
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from fa9304a to 2ac4c4d Compare May 8, 2024 16:45
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 2ac4c4d to ba8e82f Compare June 13, 2024 16:28
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from ba8e82f to 41ca2ea Compare August 14, 2024 14:22
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 41ca2ea to 1fd801b Compare October 11, 2024 04:13
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from 1fd801b to efefb4b Compare November 26, 2024 02:38
@renovate-bot renovate-bot force-pushed the renovate/kubernetes-2.x branch from efefb4b to 91a7a7d Compare December 13, 2024 01:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant