-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
ansible: rename cmd line flag and add global variable #3435
ansible: rename cmd line flag and add global variable #3435
Conversation
pkg/ansible/watches/watches.go
Outdated
@@ -171,7 +172,7 @@ func (w *Watch) setValuesFromAlias(tmp alias) error { | |||
w.Role = tmp.Role | |||
w.Vars = tmp.Vars | |||
w.MaxRunnerArtifacts = tmp.MaxRunnerArtifacts | |||
w.MaxWorkers = getMaxWorkers(gvk, maxWorkersDefault) | |||
w.MaxWorkers = getMaxReconciles(gvk, maxReconcilesDefault) |
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.
Will modify the variable naming for watches
in a follow up PR along with helm modifications.
f94a406
to
28e31e6
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 after one minor fix and passing CI.
4017fe3
to
91badcc
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
great work 🥇
This commit: * Deprecates --max-workers flag * Adds --max-concurrent-reconciles flag * Adds MAX_CONCURRENT_RECONCILES_<group>_<kind> global variable * Update relevant documentation
91badcc
to
60dea10
Compare
New changes are detected. LGTM label has been removed. |
Description of the change:
This PR:
Motivation for the change:
Effort to change ansible operator flags to match controller-runtime constructs.
Checklist
If the pull request includes user-facing changes, extra documentation is required:
changelog/fragments
(seechangelog/fragments/00-template.yaml
)website/content/en/docs