kintoproj / kinto-core

API server to manage resources on Kubernetes.
https://www.kintohub.com
Apache License 2.0
5 stars 0 forks source link

Support Dockerhub as image registry #16

Closed nandiheath closed 3 years ago

nandiheath commented 3 years ago

Is your feature request related to a problem? Please describe. When installing Kintohub using helm charts, it does not support dockerhub right now.

providing the values:

    docker: ## TO BE CHANGED
      registry: docker.io
      email: nandi0315@gmail.com
      username: nandiheath
      password: [api-token-created-at-dockerhub]

It does set up the kintohub instance, I can access the dashboard. But once I was trying to build a service it gives me an error:

error checking push permissions -- make sure you entered the correct tag name, and that you are authenticated correctly, and try again: checking push permission for "nandiheath/f277f141-cf5a-43f7-b484-c4adb65a5ae3/master:09e0d93": POST https://index.docker.io/v2/nandiheath/f277f141-cf5a-43f7-b484-c4adb65a5ae3/master/blobs/uploads/: UNAUTHORIZED: authentication required; [map[Action:pull Class: Name:nandiheath/f277f141-cf5a-43f7-b484-c4adb65a5ae3/master Type:repository] map[Action:push Class: Name:nandiheath/f277f141-cf5a-43f7-b484-c4adb65a5ae3/master Type:repository]]

suspect that pushing image to nandiheath/f277f141-cf5a-43f7-b484-c4adb65a5ae3 would work but nandiheath/f277f141-cf5a-43f7-b484-c4adb65a5ae3/master won't.

Describe the solution you'd like It should support using Dockerhub as the registry