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

Add CSI Driver fsGroup Support

Open ctxch opened this issue 8 months ago • 0 comments

Description

Currently the kubernetes_csi_driver_v1 resource doesn't support configuring the spec.fs_group_policy parameter,

Potential Terraform Configuration

resource "kubernetes_csi_driver_v1" "example" {
  metadata {
    name = "terraform-example"
  }

  spec {
    attach_required        = true
    pod_info_on_mount      = true
    volume_lifecycle_modes = ["Ephemeral"]
    fs_group_policy               = "file"
  }
}

References

https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs/resources/csi_driver_v1 https://kubernetes-csi.github.io/docs/support-fsgroup.html#csi-driver-fsgroup-support --->

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

ctxch avatar Mar 13 '25 12:03 ctxch