sodafoundation / nbp

NorthBoundPlugins for platforms and clients to connect to SODA Data Framework
Apache License 2.0
51 stars 39 forks source link

Use ConfigMap to enable soda-csi-provisioner to discover soda-proxy #420

Open asifdxtreme opened 3 years ago

asifdxtreme commented 3 years ago

Issue/Feature Description: Use ConfigMap to enable soda-csi-provisioner to discover soda-proxy

Why this issue to fixed / feature is needed(give scenarios or use cases): So that the image can be used without any changes in any env, as the service disovery will be configurable

asifdxtreme commented 3 years ago

Currently in our soda-csi-provisioner we use the service-name to discover the soda-proxy process, this doesn't works in most of the k8s development env. We have hardcoded the service name of soda-proxy over here.

Alternatively we can also use configmap to expose the soda-proxy IP:port to soda-csi-provisioner, this solution will help soda-csi-porvisioner to discover the soda-proxy even in standalone env without need to any network config.

@sushanthakumar @AmitRoushan @kumarashit What do you guyz suggest?