Update EnableControllerAttachDetach documentation

The kubelet does not support attach/detach operations on CSI volumes. As
a result, CSI volumes rely on the Attach/Detach controller enabled.
This commit is contained in:
Fabio Bertinatto 2022-02-21 14:28:15 -03:00
parent 61b3c028ba
commit 8150cf8d96
2 changed files with 3 additions and 1 deletions

View File

@ -53191,7 +53191,7 @@ func schema_k8sio_kubelet_config_v1beta1_KubeletConfiguration(ref common.Referen
},
"enableControllerAttachDetach": {
SchemaProps: spec.SchemaProps{
Description: "enableControllerAttachDetach enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations. Default: true",
Description: "enableControllerAttachDetach enables the Attach/Detach controller to manage attachment/detachment of volumes scheduled to this node, and disables kubelet from executing any attach/detach operations. Note: attaching/detaching CSI volumes is not supported by the kubelet, so this option needs to be true for that use case. Default: true",
Type: []string{"boolean"},
Format: "",
},

View File

@ -525,6 +525,8 @@ type KubeletConfiguration struct {
// enableControllerAttachDetach enables the Attach/Detach controller to
// manage attachment/detachment of volumes scheduled to this node, and
// disables kubelet from executing any attach/detach operations.
// Note: attaching/detaching CSI volumes is not supported by the kubelet,
// so this option needs to be true for that use case.
// Default: true
// +optional
EnableControllerAttachDetach *bool `json:"enableControllerAttachDetach,omitempty"`