Skip to content

Redeploy sveltos-agent when --registry or NATS watcher change - #540

Merged
gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:fix-agent-hash-registry-nats
Nov 16, 2026
Merged

gianlucam76 merged 1 commit into
projectsveltos:mainfrom
gianlucam76:fix-agent-hash-registry-nats

Conversation

@gianlucam76

Copy link
Copy Markdown
Member

Add the registry and the NATS watcher flag to the hash only when they differ from the default (registry set, NATS enabled). With default values the hash is unchanged, so upgrading classifier-manager does not redeploy the agent on every cluster.
Going back to the default value is still detected, as the hash returns to the one without the setting.

Add the registry and the NATS watcher flag to the hash only when they differ
from the default (registry set, NATS enabled). With default values the hash
is unchanged, so upgrading classifier-manager does not redeploy the agent on
every cluster.
Going back to the default value is still detected, as the hash returns to the
one without the setting.
@gianlucam76
gianlucam76 merged commit 5d5354a into projectsveltos:main Nov 16, 2026
10 checks passed
@gianlucam76
gianlucam76 deleted the fix-agent-hash-registry-nats branch November 16, 2026 07:50
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

Successfully merging this pull request may close these issues.

1 participant