Provide a sidecar to fetch information from Kubernetes
Describe the feature you'd like to have
There should be a sidecar that can be used to request information from Kubernetes (or any other CO) that is used by the provisioner and node-plugins.
What is the value to the end user? (why is it a priority?)
Currently the provisioner and node-plugins use a Kubernetes client to fetch extra information from the Kubernetes environment. This makes it impossible to use certain features (Topology based provisioning, Vault Tokens encryption) on non-Kubernetes container orchestration platforms.
How will we know we have a good solution? (acceptance criteria)
The Ceph-CSI provisioner and node-plugins should not connect to Kubernetes directly anymore.
Additional context
See conversations in #1743
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.
@nixpanic should we consider this one or close it as we have adding auto detect mechanism for CO
Ideally Ceph-CSI does not use Kubernetes directly at all... It would be cleaner to just talk to a CSI-Addons sidecar and fetch things that are needed through that. But that is a major effort.
There are currently several usages of the internal/util/k8s api that do not check with RunsOnKubernetes(). Those need to be cleaned up. Once that is done, I guess this issue can be closed.