app-sre/qontract-reconcile

Have a single way to interact with OpenShift API

aditya-konarde opened this issue · 2 comments

Currently, the openshift-resources subcommand talks to openshift API with a wrapper to the binary, while the openshift-rolebindings integration uses requests to talk directly to the OpenShift api.

This is causing confusion debugging, where we are seeing one of the integration fail on an SSL cert verification check, while the others interacting with OpenShift work just fine.

Proposal: We should have a uniform way of talking to the OpenShift API across integrations.

CC @jmelis @maorfr

Totally! @maorfr is planning on rewriting openshift-rolebindings to use oc instead of the API. 💯 !