hashicorp/terraform-provider-kubernetes (kubernetes)
### [`v2.26.0`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2260-Feb-15-2024)
[Compare Source](https://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2395)]
- `resource/kubernetes_job_v1`: add new attribute `spec.pod_failure_policy` to job spec \[[GH-2394](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2394)]
NOTES:
- Bump Kubernetes dependencies from x.27.8 to x.28.6. \[[GH-2404](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2404)]
### [`v2.25.2`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2252-Jan-8-2024)
[Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2387)]
### [`v2.25.1`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2251-Jan-4-2024)
[Compare Source](https://togithub.com/hashicorp/terraform-provider-kubernetes/compare/v2.25.0...v2.25.1)
HOTFIX:
- `kubernetes_manifest`: Implement response for GetMetadata protocol function \[[GH-2384](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2384)]
### [`v2.25.0`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2250-Jan-4-2024)
[Compare Source](https://togithub.com/hashicorp/terraform-provider-kubernetes/compare/v2.24.0...v2.25.0)
ENHANCEMENTS:
- Add terraform-plugin-framework provider \[[GH-2347](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2347)]
- `data_source/kubernetes_persistent_volume_claim_v1`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2353)]
- `data_source/kubernetes_persistent_volume_claim`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2353)]
- `kubernetes/schema_stateful_set_spec.go`: Add `spec.persistentVolumeClaimRetentionPolicy` in `kubernetes_stateful_set` \[[GH-2333](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2333)]
- `resource/kubernetes_persistent_volume_claim_v1`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2353)]
- `resource/kubernetes_persistent_volume_claim`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2345)]
A special and warm welcome to the first contribution from our teammate [@SarahFrench](https://togithub.com/SarahFrench)! π
### [`v2.24.0`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2240-Nov-27-2023)
[Compare Source](https://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2296)]
`kubernetes/schema_pod_spec.go`: Add `os` to podSpecFields \[[GH-2290](https://togithub.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://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2246)]
DOCS:
- Add example module for configuring OIDC authentication on EKS \[[GH-2287](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2287)]
- Add example module for configuring OIDC authentication on GKE \[[GH-2319](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2319)]
NOTES:
- Bump Go version from 1.20 to 1.21. \[[GH-2337](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2337)]
- Bump Kubernetes dependencies from x.25.11 to x.27.8.
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 has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
~> 2.23.0
->~> 2.26.0
Release Notes
hashicorp/terraform-provider-kubernetes (kubernetes)
### [`v2.26.0`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2260-Feb-15-2024) [Compare Source](https://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2395)] - `resource/kubernetes_job_v1`: add new attribute `spec.pod_failure_policy` to job spec \[[GH-2394](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2394)] NOTES: - Bump Kubernetes dependencies from x.27.8 to x.28.6. \[[GH-2404](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2404)] ### [`v2.25.2`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2252-Jan-8-2024) [Compare Source](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2387)] ### [`v2.25.1`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2251-Jan-4-2024) [Compare Source](https://togithub.com/hashicorp/terraform-provider-kubernetes/compare/v2.25.0...v2.25.1) HOTFIX: - `kubernetes_manifest`: Implement response for GetMetadata protocol function \[[GH-2384](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2384)] ### [`v2.25.0`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2250-Jan-4-2024) [Compare Source](https://togithub.com/hashicorp/terraform-provider-kubernetes/compare/v2.24.0...v2.25.0) ENHANCEMENTS: - Add terraform-plugin-framework provider \[[GH-2347](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2347)] - `data_source/kubernetes_persistent_volume_claim_v1`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `data_source/kubernetes_persistent_volume_claim`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `kubernetes/schema_stateful_set_spec.go`: Add `spec.persistentVolumeClaimRetentionPolicy` in `kubernetes_stateful_set` \[[GH-2333](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2333)] - `resource/kubernetes_persistent_volume_claim_v1`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2353)] - `resource/kubernetes_persistent_volume_claim`: add a new attribute `spec.volume_mode`. \[[GH-2353](https://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2345)] A special and warm welcome to the first contribution from our teammate [@SarahFrench](https://togithub.com/SarahFrench)! π ### [`v2.24.0`](https://togithub.com/hashicorp/terraform-provider-kubernetes/blob/HEAD/CHANGELOG.md#2240-Nov-27-2023) [Compare Source](https://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2296)] `kubernetes/schema_pod_spec.go`: Add `os` to podSpecFields \[[GH-2290](https://togithub.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://togithub.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://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2246)] DOCS: - Add example module for configuring OIDC authentication on EKS \[[GH-2287](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2287)] - Add example module for configuring OIDC authentication on GKE \[[GH-2319](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2319)] NOTES: - Bump Go version from 1.20 to 1.21. \[[GH-2337](https://togithub.com/hashicorp/terraform-provider-kubernetes/issues/2337)] - Bump Kubernetes dependencies from x.25.11 to x.27.8.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 has been generated by Mend Renovate. View repository job log here.