kube-HPC / hkube

🐟 High Performance Computing over Kubernetes - Core Repo 🎣
http://hkube.io
MIT License
305 stars 20 forks source link

Openshift build fails if there are more than one project assigned to the builder service-account #1093

Closed yehiyam closed 1 year ago

yehiyam commented 3 years ago

HKube micro-service algorithm-builder

Describe the bug If the algorithm-builder service account has access to more than one project (namespace), i.e. hkube and another one, then the build failes.

Expected behavior Building should work even if there is more than one namespace

To Reproduce openshift cluster

  1. install hkube in hkube namespace
  2. create another project (namespace) (whose name is alphabetically before) - e.g. aaa
  3. add permissions to the algorithm-builder-serviceaccount service account to access the new project
  4. observe in the logs of the builder pod (oc-builder container) that the wrong namespace is used
stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.