Skip to content

Auto deploy dependencies: enable automatic deployment of prerequisites#1076

Merged
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:auo-deploy-dependencies
Mar 7, 2025
Merged

Auto deploy dependencies: enable automatic deployment of prerequisites#1076
gianlucam76 merged 1 commit intoprojectsveltos:mainfrom
gianlucam76:auo-deploy-dependencies

Conversation

@gianlucam76
Copy link
Copy Markdown
Member

Profile instances can declare dependencies on other profiles via the DependsOn field, establishing a directed acyclic graph (DAG) of dependencies. Before this PR, it was the administrator's responsibility to ensure that both the dependent and prerequisite profiles target the same set of managed clusters through matching cluster selectors.

With this PR, Sveltos will automatically resolve and deploy the prerequisite profiles specified in the DependsOn field. Sveltos will analyze the dependency graph, identify the required prerequisite profiles, and ensure they are deployed to the same clusters.

This introduce a behavior change.
Set the addon-controller arg auto-deploy-dependencies to disable it.

@gianlucam76 gianlucam76 changed the title Auto deploy dependencie: enable automatic deployment of prerequisites Auto deploy dependencies: enable automatic deployment of prerequisites Mar 7, 2025
…profile

Profile instances can declare dependencies on other profiles via the DependsOn field,
establishing a directed acyclic graph (DAG) of dependencies. Before this PR, it was the
administrator's responsibility to ensure that both the dependent and prerequisite
profiles target the same set of managed clusters through matching cluster selectors.

With this PR, Sveltos will automatically resolve and deploy the prerequisite profiles
specified in the DependsOn field. Sveltos will analyze the dependency graph, identify
the required prerequisite profiles, and ensure they are deployed to the same clusters.

This introduce a behavior change.
Set the addon-controller arg `auto-deploy-dependencies` to disable it.
@gianlucam76 gianlucam76 force-pushed the auo-deploy-dependencies branch from 79486c2 to 026763e Compare March 7, 2025 15:34
@gianlucam76 gianlucam76 merged commit 3052d13 into projectsveltos:main Mar 7, 2025
@gianlucam76 gianlucam76 deleted the auo-deploy-dependencies branch March 7, 2025 16:57
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