diff --git a/chart/flux/templates/NOTES.txt b/chart/flux/templates/NOTES.txt index 8553985a0..5e6f65375 100644 --- a/chart/flux/templates/NOTES.txt +++ b/chart/flux/templates/NOTES.txt @@ -8,3 +8,12 @@ and running: fluxctl identity --k8s-fwd-ns {{ .Release.Namespace }} +--- + +**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/ diff --git a/cmd/fluxctl/install_cmd.go b/cmd/fluxctl/install_cmd.go index 7b0ae8552..279ff40f3 100644 --- a/cmd/fluxctl/install_cmd.go +++ b/cmd/fluxctl/install_cmd.go @@ -61,6 +61,16 @@ fluxctl install --git-url 'git@github.com:/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 }