Skip to content

Commit

Permalink
Add access setting hints doc to source
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatsc committed Sep 5, 2024
1 parent a87dad3 commit 9a1ba62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/driver/node.go
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,10 @@ func (d *QuobyteDriver) NodePublishVolume(ctx context.Context, req *csi.NodePubl
}
accesskeyHandle := fmt.Sprintf("%s-%s", podUUID, accesskeyID)
XattrVal := getAccessKeyValStr(accesskeyID, accesskeySecret, accesskeyHandle)
// In case of setfattr failure:
// - Make sure Quobyte CSI driver is deployed with "enableAccessKeyMounts: true"
// - Quobyte clients are deployed with access key flags enabled - see "Requirements" section of
// https://github.com/quobyte/quobyte-csi-driver/blob/master/docs/quobyte_access_keys.md
err := setfattr(xattrKey, XattrVal, fmt.Sprintf("%s/%s", d.clientMountPoint, volUUID))
if err != nil {
return nil, err
Expand Down

0 comments on commit 9a1ba62

Please sign in to comment.