-
Notifications
You must be signed in to change notification settings - Fork 239
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor targeting/bundle controller (#2111)
* Rename CLI apply.Apply to apply.CreateBundles * Refactor target package * new UpdatePartitions * new file rollout.go * Extract BundleDeployment to func * Remove global fleet args, remove unused args These arguments were not shared between all commands. There is one set of commands (apply, cleanup) which use the fleet/client pkg and another set which uses a controller-runtime client. Same is true for the debug flag. * Move fleet apply helm test into apply folder Both apply/ and helm/ are testing the fleet apply sub command * Fix typos --------- Co-authored-by: Corentin Néau <tan.neau@suse.com>
- Loading branch information
Showing
18 changed files
with
323 additions
and
328 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
integrationtests/cli/helm/repository.go → ...grationtests/cli/apply/helm_repository.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package helm | ||
package apply | ||
|
||
import ( | ||
"crypto/subtle" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.