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
returnfmt.Errorf("unable to get kubeconfig: %v", err)
81
83
}
82
84
@@ -93,5 +95,6 @@ func init() {
93
95
// Optional flags
94
96
alphaPhaseGetKubeconfigCmd.Flags().StringVarP(&pgko.KubeconfigOutput, "kubeconfig-out", "", "kubeconfig", "Where to output the kubeconfig for the provisioned cluster")
alphaPhaseGetKubeconfigCmd.Flags().DurationVarP(&pgko.WaitKubeConfigTimeout, "wait-kubeconfig-timeout", "", 20*time.Minute, "The total time to wait for KubeConfig to be available before exiting with an error")
returnd.Create(c, m, pd, co.KubeconfigOutput, pcsFactory)
113
117
}
@@ -128,6 +132,7 @@ func init() {
128
132
createClusterCmd.Flags().StringVarP(&co.AddonComponents, "addon-components", "a", "", "A yaml file containing cluster addons to apply to the internal cluster")
129
133
createClusterCmd.Flags().StringVarP(&co.BootstrapOnlyComponents, "bootstrap-only-components", "", "", "A yaml file containing components to apply only on the bootstrap cluster (before the provider components are applied) but not the provisioned cluster")
130
134
createClusterCmd.Flags().StringVarP(&co.KubeconfigOutput, "kubeconfig-out", "", "kubeconfig", "Where to output the kubeconfig for the provisioned cluster")
135
+
createClusterCmd.Flags().DurationVarP(&co.WaitKubeConfigTimeout, "wait-kubeconfig-timeout", "", 20*time.Minute, "The total time to wait for KubeConfig to be available before exiting with an error")
0 commit comments