You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
send preflight results event when preflights fail (#1553)
* send preflight results event when failed preflights are bypassed
* send preflight failure events whether or not they are bypassed
* ?
* send json, not go object
* better handle 'no baseurl' case
* report the entry command (install, run-preflights, etc) along with preflight failure results
* mark ignore-host-preflights as hidden in install/run-preflights
also add ignore-host-preflights and skip-host-preflights to join/run-preflights
cmd.Flags().StringSliceVar(&privateCAs, "private-ca", []string{}, "Path to a trusted private CA certificate file")
156
155
cmd.Flags().StringVar(&configValues, "config-values", "", "path to a manifest containing config values (must be apiVersion: kots.io/v1beta1, kind: ConfigValues)")
157
156
158
-
cmd.Flags().BoolVar(&skipHostPreflights, "skip-host-preflights", false, "Skip host preflight checks. This is not recommended and has been deprecated.")
157
+
cmd.Flags().Bool("skip-host-preflights", false, "Skip host preflight checks. This is not recommended and has been deprecated.")
159
158
cmd.Flags().MarkHidden("skip-host-preflights")
160
-
cmd.Flags().BoolVar(&ignoreHostPreflights, "ignore-host-preflights", false, "Run host preflight checks, but prompt the user to continue if they fail instead of exiting.")
159
+
cmd.Flags().Bool("ignore-host-preflights", false, "Run host preflight checks, but prompt the user to continue if they fail instead of exiting.")
cmd.Flags().StringVar(&airgapBundle, "airgap-bundle", "", "Path to the air gap bundle. If set, the installation will complete without internet access.")
136
134
cmd.Flags().MarkHidden("airgap-bundle")
137
135
cmd.Flags().StringVar(&networkInterface, "network-interface", "", "The network interface to use for the cluster")
138
-
cmd.Flags().BoolVar(&skipHostPreflights, "skip-host-preflights", false, "Skip host preflight checks. This is not recommended and has been deprecated.")
136
+
137
+
cmd.Flags().Bool("skip-host-preflights", false, "Skip host preflight checks. This is not recommended and has been deprecated.")
139
138
cmd.Flags().MarkHidden("skip-host-preflights")
140
-
cmd.Flags().BoolVar(&ignoreHostPreflights, "ignore-host-preflights", false, "Run host preflight checks, but prompt the user to continue if they fail instead of exiting.")
139
+
cmd.Flags().Bool("ignore-host-preflights", false, "Run host preflight checks, but prompt the user to continue if they fail instead of exiting.")
140
+
cmd.Flags().MarkHidden("ignore-host-preflights")
141
141
142
142
cmd.Flags().BoolVar(&assumeYes, "yes", false, "Assume yes to all prompts.")
0 commit comments