Skip to content

Commit

Permalink
fix(container_node_pool): support fuse csi driver for autopilot cluster
Browse files Browse the repository at this point in the history
Signed-off-by: Tsubasa Nagasawa <[email protected]>
  • Loading branch information
toVersus committed Sep 19, 2023
1 parent ac9d412 commit d572cbb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -407,13 +407,12 @@ func ResourceContainerCluster() *schema.Resource {
},
},
"gcs_fuse_csi_driver_config": {
Type: schema.TypeList,
Optional: true,
Computed: true,
AtLeastOneOf: addonsConfigKeys,
MaxItems: 1,
Description: `The status of the GCS Fuse CSI driver addon, which allows the usage of gcs bucket as volumes. Defaults to disabled; set enabled = true to enable.`,
ConflictsWith: []string{"enable_autopilot"},
Type: schema.TypeList,
Optional: true,
Computed: true,
AtLeastOneOf: addonsConfigKeys,
MaxItems: 1,
Description: `The status of the GCS Fuse CSI driver addon, which allows the usage of gcs bucket as volumes. Defaults to disabled; set enabled = true to enable.`,
Elem: &schema.Resource{
Schema: map[string]*schema.Schema{
"enabled": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,9 @@ Enable/Disable Security Posture API features for the cluster. Structure is [docu

* `gcs_fuse_csi_driver_config` - (Optional) The status of the GCSFuse CSI driver addon,
which allows the usage of a gcs bucket as volumes.
It is disabled by default; set `enabled = true` to enable.
It is disabled by default for Standard clusters; set `enabled = true` to enable.
It is enabled by default for Autopilot clusters with version 1.24 or later; set `enabled = true` to enable it explicitly.
See [Enable the Cloud Storage FUSE CSI driver](https://cloud.google.com/kubernetes-engine/docs/how-to/persistent-volumes/cloud-storage-fuse-csi-driver#enable) for more information.

* `cloudrun_config` - (Optional). Structure is [documented below](#nested_cloudrun_config).

Expand Down

0 comments on commit d572cbb

Please sign in to comment.