This repository has been archived by the owner on Nov 1, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3638 from fluxcd/add-deprecation-warnings
Add deprecation warnings to Helm Chart and fluxctl
- Loading branch information
Showing
2 changed files
with
19 additions
and
0 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
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 |
---|---|---|
|
@@ -61,6 +61,16 @@ fluxctl install --git-url '[email protected]:<your username>/flux-get-started' --gi | |
} | ||
|
||
func (opts *installOpts) RunE(cmd *cobra.Command, args []string) error { | ||
fmt.Fprintf(os.Stderr, `**Flux v1 is deprecated, please upgrade to v2 as soon as possible!** | ||
New users of Flux can Get Started here: | ||
https://fluxcd.io/docs/get-started/ | ||
Existing users can upgrade using the Migration Guide: | ||
https://fluxcd.io/docs/migration/ | ||
`) | ||
|
||
if len(args) != 0 { | ||
return errorWantedNoArgs | ||
} | ||
|