-
Notifications
You must be signed in to change notification settings - Fork 72
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
Naming: rename setup and cleanup tasks #2184
base: main
Are you sure you want to change the base?
Conversation
Based on #2182, should be merged only after it or rebased |
9739fb9
to
a41b684
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs some small changes
Refs: #2176 Add installation_priority parameter for specification of order for installation of deployments. Signed-off-by: Konstantin Yarovoy <[email protected]>
Refs: #2181 Rename cnf_setup, cnf_cleanup and cluster_api_setup, cluster_api_cleanup tasks to cnf_install, cnf_uninstall and cluster_api_install, cluster_api_uninstall. Change documentation, specs and code accordingly. Signed-off-by: Konstantin Yarovoy <[email protected]>
a41b684
to
ace6b29
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see uninstallation was already in the docs, but maybe, removal is better.
Up to you
@@ -134,6 +134,21 @@ deployments: | |||
... | |||
``` | |||
|
|||
##### Deployment priority | |||
|
|||
To ensure deployments are executed in a specific order, you can use the `priority` parameter. Deployments are processed in ascending order of their `priority` values, starting with the lowest. During uninstallation, the order is reversed, processing from the highest `priority` value to the lowest. If the `priority` parameter is not specified, it defaults to 0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uninstallation looks a bit weird ? removal ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be honest I feel like the opposite of removal would be addition. I dont see the need to not use the word "uninstallation", it feels like it reads well as is + it actually conforms with the command name that is used. Additionally in helm documentation they also use the words install/uninstall. This applies to all other comments you left.
Description
Rename cnf_setup, cnf_cleanup and
setuptasks to cnf_install, cnf_uninstall,install_dependenciesChange documentation, specs and code accordingly
Issues:
Refs: #2181