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

Approach for making dynamic changes #32

Open
piyat opened this issue Oct 4, 2021 · 1 comment
Open

Approach for making dynamic changes #32

piyat opened this issue Oct 4, 2021 · 1 comment

Comments

@piyat
Copy link

piyat commented Oct 4, 2021

Hey - thanks for maintaining this handy plugin. I've been using it to set up a dev environment.

I'm looking for some information to help me make a decision on whether to use this in production. I want to surface Nexus configuration to a Git repo to enable GitOps style configuration management (enabling more frequent configuration tasks like setting up repositories, users & roles). My instance runs on Kubernetes and I want to avoid the need to use a tool like reloader to do a rolling restart of Nexus when the configuration changes. In fact, I don't really want to restart Nexus at all.

As far as I can tell - configuration is only applied by the plugin when Nexus is started. Is this the case? if so - do you have any docs you could point me at to help me understand why? Is there a way to make this happen dynamically when configuration changes?

Thanks!

@bdellegrazie
Copy link

@piyat : you're correct, configuration is only applied by the plugin when Nexus is started. In part this is due to the lifecycle of the service - certain parts are applied during certain phases of the Nexus service lifecycle.

As far as I understand it there's nothing in the Nexus APIs that prevents you from doing GitOps style right now, but you would need to structure the order of calls appropriately to avoid conflicts.

Please do let us know how you get on.

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