GoogleCloudPlatform / pbmm-on-gcp-onboarding

GCP Canadian Public Sector Landing Zone overlay on top of the TEF via CFT modules - a secure cloud foundation
https://cloud.google.com/architecture/security-foundations
Apache License 2.0
45 stars 56 forks source link

fix(deps): Update Terraform kubernetes to ~> 2.33.0 #463

Open renovate-bot opened 3 months ago

renovate-bot commented 3 months ago

This PR contains the following updates:

Package Type Update Change Pending
kubernetes (source) required_provider minor ~> 2.16.0 -> ~> 2.33.0 2.34.0

Release Notes

hashicorp/terraform-provider-kubernetes (kubernetes) ### [`v2.33.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2330-Oct-10-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.32.0...v2.33.0) ENHANCEMENTS: - Add `backoff_per_limit_index` and `max_failed_indexes` fields in `structure_job.go` \[[GH-2421](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2592)] - `schema_container.go`: Add VolumeDevices \[[GH-2573](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2573)] ### [`v2.32.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2320-Aug-14-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.31.0...v2.32.0) FEATURES: - New data source: `kubernetes_server_version` \[[GH-2306](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2306)] ENHANCEMENTS: - `resource/kubernetes_certificate_signing_request_v1`: Add argument `spec.expiration_seconds` \[[GH-2559](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2559)] - `resource/kubernetes_persistent_volume_v1`: support `ReadWriteOncePod` access mode for PVs \[[GH-2488](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2488)] ### [`v2.31.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/releases/tag/v2.31.0) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.30.0...v2.31.0) ENHANCEMENTS: - Add support for Terraform's experimental deferred actions \[[GH-2510](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2510)] ### [`v2.30.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2300-May-8-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.29.0...v2.30.0) 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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2372)] - `kubernetes_manifest`: fix issue preventing KUBE_PROXY_URL environment variable from being used in client configuration ([#​1733](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1733)) \[[GH-2485](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2402)] DOCS: - Migrate legacy structure to new tfplugindocs template structure \[[GH-2470](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2470)] ### [`v2.29.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2290-April-11-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.28.1...v2.29.0) BUG FIXES: - data-sources: revert a recently introduced deviation on datasources where querying a non-existent resource would cause an error ([#​2434](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2434)). \[[GH-2464](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2464)] ### [`v2.28.1`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2281-April-9-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.28.0...v2.28.1) HOTFIX: - `manifest_decode()`: fix handling of manifests containing null values \[[GH-2461](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2461)] ### [`v2.28.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2280-April-8-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.27.0...v2.28.0) ENHANCEMENTS: **NOTE: Using [Provider Defined Functions](https://developer.hashicorp.com/terraform/plugin/framework/functions/concepts) requires Terraform version 1.8.0.** - Add provider defined functions: `manifest_encode`, `manifest_decode`, `manifest_decode_multi` \[[GH-2428](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2428)] ### [`v2.27.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2270-Mar-6-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.26.0...v2.27.0) ENHANCEMENTS: - `resource/kubernetes_pod_v1`: add missing `topology_spread_constraints`: `node_affinity_policy`, `node_taints_policy`, `match_label_keys`, `min_domains` \[[GH-2429](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2429)] ### [`v2.26.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2260-Feb-15-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.25.2...v2.26.0) ENHANCEMENTS: - `kubernetes/kubernetes_deployment_v1`: Add support for `HugePages` in `emptyDir.medium` \[[GH-2395](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2395)] - `resource/kubernetes_job_v1`: add new attribute `spec.pod_failure_policy` to job spec \[[GH-2394](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2394)] NOTES: - Bump Kubernetes dependencies from x.27.8 to x.28.6. \[[GH-2404](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2404)] ### [`v2.25.2`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2252-Jan-8-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.25.1...v2.25.2) 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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2387)] ### [`v2.25.1`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2251-Jan-4-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.25.0...v2.25.1) HOTFIX: - `kubernetes_manifest`: Implement response for GetMetadata protocol function \[[GH-2384](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2384)] ### [`v2.25.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2250-Jan-4-2024) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.24.0...v2.25.0) ENHANCEMENTS: - Add terraform-plugin-framework provider \[[GH-2347](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2347)] - `data_source/kubernetes_persistent_volume_claim_v1`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `data_source/kubernetes_persistent_volume_claim`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `kubernetes/schema_stateful_set_spec.go`: Add `spec.persistentVolumeClaimRetentionPolicy` in `kubernetes_stateful_set` \[[GH-2333](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2333)] - `resource/kubernetes_persistent_volume_claim_v1`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `resource/kubernetes_persistent_volume_claim`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `resource/kubernetes_stateful_set_v1`: add a new attribute `spec.volume_claim_template.spec.volume_mode`. \[[GH-2353](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `resource/kubernetes_stateful_set`: add a new attribute `spec.volume_claim_template.spec.volume_mode`. \[[GH-2353](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2345)] A special and warm welcome to the first contribution from our teammate [@​SarahFrench](https://redirect.github.com/SarahFrench)! šŸš€ ### [`v2.24.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2240-Nov-27-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.23.0...v2.24.0) ENHANCEMENTS: `kubernetes/schema_affinity_spec.go`: Add `match_fields` to nodeAffinity \[[GH-2296](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2296)] `kubernetes/schema_pod_spec.go`: Add `os` to podSpecFields \[[GH-2290](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2290)] `resource/kubernetes_config_map_v1_data`: improve error handling while validating the existence of the target ConfigMap. \[[GH-2230](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2230)] BUG FIXES: - `resource/kubernetes_labels`: Add \["f:metadata"] check in kubernetes_labels to prevent crash with kubernetes_node_taints \[[GH-2246](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2246)] DOCS: - Add example module for configuring OIDC authentication on EKS \[[GH-2287](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2287)] - Add example module for configuring OIDC authentication on GKE \[[GH-2319](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2319)] NOTES: - Bump Go version from 1.20 to 1.21. \[[GH-2337](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2337)] - Bump Kubernetes dependencies from x.25.11 to x.27.8. ### [`v2.23.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2230-August-16-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.22.0...v2.23.0) 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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_daemon_set_v1`: add a new volume type `ephemeral` to `spec.template.spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_daemonset`: add a new volume type `ephemeral` to `spec.template.spec..volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_deployment_v1`: add a new volume type `ephemeral` to `spec.template.spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_deployment`: add a new volume type `ephemeral` to `spec.template.spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_job_v1`: add a new volume type `ephemeral` to `spec.template.spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_job`: add a new volume type `ephemeral` to `spec.template.spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_pod_v1`: add a new volume type `ephemeral` to `spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2199)] - `resource/kubernetes_pod`: add a new volume type `ephemeral` to `spec.volume` to support generic ephemeral volumes. \[[GH-2199](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2163)] DOCS: - Fix external broken links in the documentation. \[[GH-2221](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2221)] ### [`v2.22.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2220-July-12-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.21.1...v2.22.0) FEATURES: - `kubernetes/data_source_kubernetes_persistent_volume.go`: Add data source for Kubernetes Persistent Volume Resource \[[GH-2118](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2119)] - `kubernetes/resource_kubernetes_endpointslice.go`: Add kubernetes_endpoint_slice resource \[[GH-2086](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2086)] ENHANCEMENTS: - `kubernetes/provider.go`: Add `tls_server_name` kubernetes provider options. \[[GH-1638](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2173)] ### [`v2.21.1`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2211-June-5-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.21.0...v2.21.1) HOTFIX: - Revert add "conflictsWith" to provider block schema. \[[GH-2131](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/pull/2131)] ### [`v2.21.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2210-June-1-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.20.0...v2.21.0) FEATURES: - `resource/kubernetes_runtime_class_v1`: Add a new resource `kubernetes_runtime_class_v1`. \[[GH-2080](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2080)] ENHANCEMENTS: - `kubernetes/provider.go`: add `conflictsWith` rules to provider configuration schema \[[GH-2084](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2084)] - `kubernetes/resource_kubernetes_service_account.go`: Remove `default_secret_name` warning \[[GH-2085](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2085)] - `resource/kubernetes_node_taint` Update import documentation [GH-2094](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2099)] - `resource/kubernetes_job`: Fixed a bug where setting `backoff_limit` to 6 would reset it to 0 ### [`v2.20.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2200-April-20-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.19.0...v2.20.0) ENHANCEMENTS: `kubernetes/resource_kubernetes_env.go`: add support for initContainers \[[GH-2067](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2067)] `kubernetes/resource_kubernetes_node_taint.go`: Remove MaxItems from taint attribute \[[GH-2046](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2046)] BUG FIXES: - Fix diff after import when importing resources containing volume_mount \[[GH-2061](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2061)] - `resource/kubernetes_node_taint`: Fix an issue when updating taint does not update the ID in the state file. \[[GH-2077](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2077)] ### [`v2.19.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2190-March-23-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.18.1...v2.19.0) FEATURES: New Resource: `kubernetes_token_request_v1`. \[[GH-2024](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2024)] BUG FIXES: - `data_source/kubernetes_secret_v1`: Fix an issue where data_source cannot read secret created with generate_name. \[[GH-2028](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2028)] - `data_source/kubernetes_secret`: Fix an issue where data_source cannot read secret created with generate_name. \[[GH-2028](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2028)] - `kubernetes/schema_pod_spec.go`: Fix unexpected volumes appearing on plan \[[GH-2006](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2006)] - `resource/kubernetes_cron_job_v1`: Fix annotation logic to prevent internalkeys from being removed in templates \[[GH-1983](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1983)] - `resource/kubernetes_manifest`: Fix a panic when constructing the diagnostic message about incompatible attribute types \[[GH-2054](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2054)] - `resource/kubernetes_manifest`: Fix crash when manifest config contains unknown values of unknown type (DynamicPseudoType) \[[GH-2055](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2055)] ### [`v2.18.1`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2181-February-21-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.18.0...v2.18.1) HOTFIX: - kubernetes_manifest: fix crash when waiting on conditions that are not yet present \[[GH-2008](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/2008)] ### [`v2.18.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2180-February-15-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.17.0...v2.18.0) FEATURES: - New data source: `data_source/kubernetes_nodes`. \[[GH-1921](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1921)] - New data source: `data_source/kubernetes_resources`. \[[GH-1967](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1967)] - New resource: `resource/kubernetes_node_taint`. \[[GH-1921](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1921)] ENHANCEMENT: - `resource/kubernetes_annotations`: Add a new attribute `template_annotations` that allows adding annotations to resources with pod templates. \[[GH-1972](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1972)] - `resource/kubernetes_cron_job_v1`: Add a new attribute `spec.timezone`. \[[GH-1971](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1971)] BUG FIXES: - `resource/kubernetes_mutating_webhook_configuration`: Fix an issue when the delete operation may not be idempotent. \[[GH-1999](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1999)] - `resource/kubernetes_network_policy_v1`: Fix an issue when the delete operation may not be idempotent. \[[GH-1999](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1999)] - `resource/kubernetes_network_policy`: Fix an issue when the delete operation may not be idempotent. \[[GH-1999](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1999)] - `resource/kubernetes_persistent_volume_claim_v1`: Fix an issue when the delete operation may not be idempotent. \[[GH-1999](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1999)] - `resource/kubernetes_persistent_volume_claim`: Fix an issue when the delete operation may not be idempotent. \[[GH-1999](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1519)] DOCS: - New data source: `data_source/kubernetes_nodes`. \[[GH-1921](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1921)] - New data source: `data_source/kubernetes_resources`. \[[GH-1967](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1967)] - New resource: `resource/kubernetes_node_taint`. \[[GH-1921](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1921)] - `provider`: Add a note regarding the `KUBECONFIG` environment variable. \[[GH-1989](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1989)] - `resource/kubernetes_annotations`: Add a new attribute `template_annotations`. \[[GH-1972](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1972)] - `resource/kubernetes_job_v1`: Add documentation for the attribute `spec.completion_mode`. \[[GH-1997](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1997)] - `resource/kubernetes_job`: Add documentation for the attribute `spec.completion_mode`. \[[GH-1997](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1997)] - `resource/resource_kubernetes_cron_job_v1`: Add a new attribute `spec.timezone`. \[[GH-1971](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1971)] ### [`v2.17.0`](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2170-January-23-2023) [Compare Source](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/compare/v2.16.1...v2.17.0) 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](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1915)] - `resource/kubernetes_cluster_role_binding_v1`: add attribute `generate_name` to produce a unique random name \[[GH-1899](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1899)] - `resource/kubernetes_cluster_role_binding`: add attribute `generate_name` to produce a unique random name \[[GH-1899](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1899)] - `resource/kubernetes_cluster_role_v1`: add attribute `generate_name` to produce a unique random name \[[GH-1899](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1899)] - `resource/kubernetes_cluster_role`: add attribute `generate_name` to produce a unique random name \[[GH-1899](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1899)] - `resource/kubernetes_ingress_v1`: add create and delete timeouts \[[GH-1936](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1936)] - `resource/kubernetes_ingress_v1`: make the attribute `spec.ingress_class_name` computed \[[GH-1947](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1947)] - `resource/kubernetes_persistent_volume_v1`: add additional validation on the delete operation to make it idempotent \[[GH-1935](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1935)] - `resource/kubernetes_persistent_volume`: add additional validation on the delete operation to make it idempotent \[[GH-1935](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1935)] - `resource/kubernetes_role_binding_v1`: add attribute `generate_name` to produce a unique random name \[[GH-1899](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1899)] - `resource/kubernetes_role_binding`: add attribute `generate_name` to produce a unique random name \[[GH-1899](https://redirect.github.com/hashicorp/terraform-provider-kubernetes/issues/1899)]

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.



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