Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add registry in yml #661

Open
dustyroberts opened this issue May 31, 2023 · 1 comment
Open

add registry in yml #661

dustyroberts opened this issue May 31, 2023 · 1 comment

Comments

@dustyroberts
Copy link

Is there a way to add a registry as part of the configuration? instead of doing it from the web interface.

@nohaapav
Copy link
Member

nohaapav commented May 31, 2023

Not atm. However there is open API to add registry to swarmpit so you can write simple script with REST call to get the job done and call it from here: https://github.com/swarmpit/swarmpit/blob/master/src/clj/swarmpit/server.clj#L96.

See: https://github.com/swarmpit/swarmpit/blob/master/src/cljc/swarmpit/routes.cljc#L449 .. Or you can open inspector and check what API is being called under the hood. However you have to create API-KEY first ..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants