hashicorp / terraform-provider-kubernetes

Terraform Kubernetes provider
https://www.terraform.io/docs/providers/kubernetes/
Mozilla Public License 2.0
1.6k stars 979 forks source link

Add VolumeDevices to PodSpec (#2572) #2573

Closed jirislav closed 2 months ago

jirislav commented 3 months ago

Description

Resolves #2572

Acceptance tests

Output from acceptance testing follows, filtered only to the new EKS tests, since it's hard to test locally:

/usr/lib/go-1.21/bin/go tool test2json -t ~/.cache/JetBrains/IntelliJIdea2024.2/tmp/GoLand/___2resource_kubernetes_stateful_set_v1_eks_test_go.test -test.v=test2json -test.paniconexit0 -test.run ^\QTestAccKubernetesStatefulSetV1_EKS_basic\E|\QTestAccKubernetesStatefulSetV1_EKS_basic_idempotency\E|\QTestAccKubernetesStatefulSetV1_EKS_Update\E|\QTestAccKubernetesStatefulSetV1_EKS_waitForRollout\E$
=== RUN   TestAccKubernetesStatefulSetV1_EKS_basic
=== PAUSE TestAccKubernetesStatefulSetV1_EKS_basic
=== CONT  TestAccKubernetesStatefulSetV1_EKS_basic
--- PASS: TestAccKubernetesStatefulSetV1_EKS_basic (25.41s)
=== RUN   TestAccKubernetesStatefulSetV1_EKS_basic_idempotency
=== PAUSE TestAccKubernetesStatefulSetV1_EKS_basic_idempotency
=== CONT  TestAccKubernetesStatefulSetV1_EKS_basic_idempotency
--- PASS: TestAccKubernetesStatefulSetV1_EKS_basic_idempotency (36.40s)
=== RUN   TestAccKubernetesStatefulSetV1_EKS_Update
=== PAUSE TestAccKubernetesStatefulSetV1_EKS_Update
=== CONT  TestAccKubernetesStatefulSetV1_EKS_Update
=== RUN   TestAccKubernetesStatefulSetV1_EKS_waitForRollout
=== PAUSE TestAccKubernetesStatefulSetV1_EKS_waitForRollout
=== CONT  TestAccKubernetesStatefulSetV1_EKS_waitForRollout
--- PASS: TestAccKubernetesStatefulSetV1_EKS_waitForRollout (19.02s)
--- PASS: TestAccKubernetesStatefulSetV1_EKS_Update (145.19s)
PASS

Release Note

Release note for CHANGELOG:

Add VolumeDevices to PodSpec (#2572)

References

Community Note

hashicorp-cla-app[bot] commented 3 months ago

CLA assistant check
All committers have signed the CLA.

jirislav commented 3 months ago

I have published this version to the registry for early access and easier docs review.

To get the early access, use:

terraform {
  required_providers {
    kubernetes = {
      source = "jirislav/kubernetes"
      version = "2.32.0-issue2572"
    }
  }
}

provider "kubernetes" {
  # Configuration options
}