terraform-provider-kubernetes icon indicating copy to clipboard operation
terraform-provider-kubernetes copied to clipboard

Add support for generic ephemeral volumes

Open oceyral opened this issue 2 years ago • 0 comments

Description

Add support for generic ephemeral volumes, stable in kubernetes 1.23

Acceptance tests

  • [X] Have you added an acceptance test for the functionality being added?
  • [x] Have you run the acceptance tests on this branch?

Output from acceptance testing:

$ make testacc TESTARGS='-run=Ephemeral'
==> Checking that code complies with gofmt requirements...                                                                                                                                                                                                                                 
go vet .                                                                                                                                                                                                                                                                                   
TF_ACC=1 go test "/home/oceyral/dev/algolia/terraform-provider-kubernetes/kubernetes" -v -run=Ephemeral -timeout 3h                                                                                                                                                                        
=== RUN   TestAccKubernetesPod_EphemeralVolume                                                                                                                                                                                                                                             
--- PASS: TestAccKubernetesPod_EphemeralVolume (17.38s)                                                                                      
PASS                                                                                                                                                                                                                                                                                       
ok      github.com/hashicorp/terraform-provider-kubernetes/kubernetes   17.409s                                                                                                                                                                                                            
make testacc TESTARGS='-run=Ephemeral'  27.64s user 4.15s system 132% cpu 23.959 total     
...

Release Note

Release note for CHANGELOG:

Add support for generic ephemeral volumes

References

https://kubernetes.io/docs/concepts/storage/ephemeral-volumes/#generic-ephemeral-volumes

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

oceyral avatar Jul 07 '22 14:07 oceyral