Skip to content

Add CSI Driver fsGroup Support #2702

Open
@ctxch

Description

@ctxch

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

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions