Merge pull request #108256 from bertinatto/kubelet-attach-detach

Update EnableControllerAttachDetach documentation
This commit is contained in:
Kubernetes Prow Robot 2022-03-29 17:34:49 -07:00 committed by GitHub
commit 1cddd38956
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -53205,7 +53205,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"`