10000 GitHub - x8k/registry-migration-tool: This tool permit to read deployments from a kube cluster, retrieve images from registry and push that image on another registry
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

This tool permit to read deployments from a kube cluster, retrieve images from registry and push that image on another registry

License

Notifications You must be signed in to change notification settings

x8k/registry-migration-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

registry-migration-tool

This tool permit to read deployments from a kube cluster, retrieve images from registry and push that image on another registry

if your source registry uses auth auth you have to proper setup envar to pull images If your destination registry uses auth you have to proper setup envar for every organization.

Organization is the "folder" after the name of source registry

E.G. image: gcr.io/google_containers/kube-state-metrics:v0.2.0 organization: google_containers

The envars are in the format DT_[DESTINATION|SOURCE]${organization_uppercase}[USERNAME|TOKEN]

E.G.

export DT_DESTINATION_REGISTRY_APPLICATION_USERNAME='application+robotaccount'
export DT_DESTINATION_REGISTRY_APPLICATION_TOKEN='AAAABBBBCCCCDDDDEEEEFFF'

Example

export DT_DESTINATION_REGISTRY_APPLICATION_USERNAME='application+robotaccount'
export DT_DESTINATION_REGISTRY_APPLICATION_TOKEN='AAAABBBBCCCCDDDDEEEEFFF'
python ./registrytool.py -r registry-destination.mycompany.com:5000

About

This tool permit to read deployments from a kube cluster, retrieve images from registry and push that image on another registry

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0