Terraform-provider-kubernetes: Documentation of csi in kubernetes_persistent_volume.persistent_volume_source

Created on 25 Nov 2020  ·  3Comments  ·  Source: hashicorp/terraform-provider-kubernetes

Terraform Version and Provider Version

latest

Affected Resource(s)

  • kubernetes_persistent_volume

csi should be listed here: https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/persistent_volume#persistent_volume_source

took me a while to figure out
thanks

bug documentation

Most helpful comment

@enummela
It has to be in spec.persistent_volume_source.csi like this:

resource "kubernetes_persistent_volume" "backup" {
  ...
  spec {
    ...
    persistent_volume_source {
      csi {

All 3 comments

@rolandg I am also having trouble figuring out how to use csi. Would you mind sharing what the correct way is here?

@enummela
It has to be in spec.persistent_volume_source.csi like this:

resource "kubernetes_persistent_volume" "backup" {
  ...
  spec {
    ...
    persistent_volume_source {
      csi {

I'm going to lock this issue because it has been closed for _30 days_ ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

Was this page helpful?
0 / 5 - 0 ratings