gluster / gluster-csi-driver

DEPRECATED: Gluster Container Storage Interface (CSI) driver
GNU Lesser General Public License v3.0
57 stars 30 forks source link

return appropriate RPC status code for unauthorized gd2 access #109

Open Madhu-1 opened 6 years ago

Madhu-1 commented 6 years ago

If there is an authentication issue while connecting with the glusterd2, CSI driver should return UNAUTHENTICATED status call back to the CO.

this is applicable while the user is creating the secret for a required token for authenticating with gd2. passing the secret name and secret namespace in storage class and CSI uses the same secrets to connect to the gd2.

UNAUTHENTICATED indicates The invoked RPC does not carry secrets that are valid for authentication.