asset-relocation-tool-for-kubernetes icon indicating copy to clipboard operation
asset-relocation-tool-for-kubernetes copied to clipboard

Add support to explicitly providing registry credentials

Open migmartri opened this issue 3 years ago • 0 comments

Currently, the relok8s CLI loads credentials from the local Docker keychain (~/.docker/config.json). Relok8s as a library already supports passing credentials explicitly https://github.com/vmware-tanzu/asset-relocation-tool-for-kubernetes/pull/70 so the next steps would be to expose that functionality to the CLI.

One possible implementation could be accepting env variables similar to what charts-syncer does, flags or config files could be an alternative too. If we go to that route it might make sense to look into if https://github.com/spf13/viper could be a good fit or an overkill.

cc/ @josvazg

migmartri avatar Feb 04 '22 13:02 migmartri