From c7fa278bc6de8264e74411054644aa45c4244f7c Mon Sep 17 00:00:00 2001 From: Mitch Connors Date: Tue, 8 Nov 2022 12:54:12 -0800 Subject: [PATCH] Add Install/Upgrade Survey for 1.16 (#41867) * Add 1.16 Upgrade Survey * Add upgrade survey to install command * Maybe fix lint errors * actual fmt --- .../charts/istio-control/istio-discovery/templates/NOTES.txt | 2 ++ operator/cmd/mesh/install.go | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/manifests/charts/istio-control/istio-discovery/templates/NOTES.txt b/manifests/charts/istio-control/istio-discovery/templates/NOTES.txt index 5b5b2b3e80cf..4e5bdbd4935c 100644 --- a/manifests/charts/istio-control/istio-discovery/templates/NOTES.txt +++ b/manifests/charts/istio-control/istio-discovery/templates/NOTES.txt @@ -17,3 +17,5 @@ Next steps: * https://istio.io/latest/docs/ops/best-practices/security/ For further documentation see https://istio.io website + +Tell us how your install/upgrade experience went at https://forms.gle/99uiMML96AmsXY5d6 diff --git a/operator/cmd/mesh/install.go b/operator/cmd/mesh/install.go index 9633fddf1ce7..71f116330dbc 100644 --- a/operator/cmd/mesh/install.go +++ b/operator/cmd/mesh/install.go @@ -246,6 +246,11 @@ func Install(rootArgs *RootArgs, iArgs *InstallArgs, logOpts *log.Options, stdOu } } + if !rootArgs.DryRun { + _, _ = fmt.Fprintln(stdOut, "\nThank you for installing Istio 1.16. Please take a few minutes to "+ + "tell us about your install/upgrade experience! https://forms.gle/99uiMML96AmsXY5d6") + } + return nil }