Description
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
When driver is failing to initialize, additional logs would be helpful.
e.g. this log output indicates the rest mapper initialization failed, could be due to a network issue on the node causing the driver unable to talk to the kube-apiserver.
k logs secrets-store-csi-driver-windows -n kube-system -c secrets-store
I0206 00:04:40.450395 5564 exporter.go:35] "initializing metrics backend" backend="prometheus"
E0206 00:05:02.650206 5564 main.go:167] "failed to start manager" err="could not create RESTMapper from config"
E0206 00:05:02.650206 5564 main.go:85] "unrecoverable error encountered" err="could not create RESTMapper from config"
What did you expect to happen:
Additional logs including The driver is unable to communicate with the kube-apiserver. Check network connectivity etc
would be helpful.
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
The error above is returned by https://github.com/kubernetes-sigs/controller-runtime. Evaluate to see if we need to upgrade to a newer version.
Which provider are you using:
[e.g. Azure Key Vault, HashiCorp Vault, etc. Have you checked out the provider's repo for more help?]
AKV
Environment:
- Secrets Store CSI Driver version: (use the image tag):
- Kubernetes version: (use
kubectl version
):