Block Storage for VPC PVC creation fails after API key reset
Virtual Private Cloud
After you reset your API key, Block Storage for VPC PVC creation fails with an IAM permission error.
Resetting your API key means the credentials that the Block Storage for VPC cluster add-on uses to provision volumes are no longer valid. After resetting your API key, you must reset the Block Storage for VPC controller to use the latest API key for volume provisioning.
Resolving the issue
After resetting your API key, you must re-create the Block Storage for VPC controller pod.
-
Get the Block Storage for VPC controller pod name.
kubectl get pods -n kube-system | grep ibm-vpc-block-csi-controller -
Delete the Block Storage for VPC controller pod.
kubectl delete pod -n kube-system POD_NAME