Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gcs_fuse_driver_config to beta modules #1684

Closed
bitnahian opened this issue Jun 30, 2023 · 0 comments · Fixed by #1722
Closed

Add gcs_fuse_driver_config to beta modules #1684

bitnahian opened this issue Jun 30, 2023 · 0 comments · Fixed by #1722
Labels
enhancement New feature or request

Comments

@bitnahian
Copy link

bitnahian commented Jun 30, 2023

TL;DR

Support gcs_fuse_driver_config for beta cluster modules as part of the addons_config.

Terraform Resources

* (https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/container_cluster#gcs_fuse_csi_driver_config)

Detailed design

For all beta clusters

# variables.tf
variable "gcs_fuse_csi_driver" {
  type        = bool
  description = "The status of the GCSFuse CSI driver addon, which allows the usage of a gcs bucket as volumes."
  default     = false
}
# cluster.tf
resource "google_container_cluster" "primary" {
# ...
  addons_config {
    # ...
    gcs_fuse_csi_driver_config {
      enabled = var.gcs_fuse_csi_driver
    }
    # ...
  }
}
@bitnahian bitnahian added the enhancement New feature or request label Jun 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant