Closed jparsai closed 2 months ago
Addressed all review comments, PTAL.
Yes @jgwest the first comment about duplicate import I had fixed but it seems when I copied some code from another file to rollout_test.go it was added again because of auto import in VSCode.
About 2nd comment I removed the error Type and using only one type "Reconciled", but Reason has to have multiple values. Type=Reconciled | Status = true | Reason=Success | Message = "" Type=Reconciled | Status = false | Reason=ErrorOccurred | Message = "Some error message"
I removed duplicate import, PTAL.
@jparsai Perfect, it's likely I misread reason and type, thanks for double checking!
@jgwest PR is ready for review now, PTAL.
What does this PR do / why we need it: This PR is to add support for cluster scoped Rollouts. Currently Rollouts controller can reconcile CR created in same namespace, this PR has changes which would allow Rollouts controller to reconcile CR created in other namespaces as well. There are few limitations for creating Cluster scoped Rollouts controller, please check original issue created for this feature.
Have you updated the necessary documentation?
Which issue(s) this PR fixes: Fixes #? https://github.com/argoproj-labs/argo-rollouts-manager/issues/20
How to test changes / Special notes to the reviewer:
RolloutManager
CR and change scope to namespace or cluster usingSpec.NamespaceScoped
field ofRolloutManager
.Rollouts
CR ifRolloutManager
is cluster scoped and it should be reconciled.