Skip to content
Discussion options

You must be logged in to vote

Regarding to the official document of CSI, the secret of expanding is passed by controllerExpandSecretRef. And what csi driver received is the secret data, not secret name. request is as follows:

message ControllerExpandVolumeRequest {
  // The ID of the volume to expand. This field is REQUIRED.
  string volume_id = 1;

  // This allows CO to specify the capacity requirements of the volume
  // after expansion. This field is REQUIRED.
  CapacityRange capacity_range = 2;

  // Secrets required by the plugin for expanding the volume.
  // This field is OPTIONAL.
  map<string, string> secrets = 3 [(csi_secret) = true];

  // Volume capability describing how the CO intends to use this volume.…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Xuyuchao-juice
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants