- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 38 for cfgData (0.27 sec)
-
cmd/kubeadm/app/util/config/initconfiguration.go
func LoadInitConfigurationFromFile(cfgPath string, opts LoadOrDefaultConfigurationOptions) (*kubeadmapi.InitConfiguration, error) { klog.V(1).Infof("loading configuration from %q", cfgPath) b, err := os.ReadFile(cfgPath) if err != nil { return nil, errors.Wrapf(err, "unable to read config from %q ", cfgPath) } return BytesToInitConfiguration(b, opts.SkipCRIDetect) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 12:41:16 UTC 2024 - 17.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
} // AddConfigFlag adds the --config flag to the given flagset func AddConfigFlag(fs *pflag.FlagSet, cfgPath *string) { fs.StringVar(cfgPath, CfgPath, *cfgPath, "Path to a kubeadm configuration file.") } // AddIgnorePreflightErrorsFlag adds the --ignore-preflight-errors flag to the given flagset
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs.go
outputFlags.AddFlags(cmd) return cmd } type expirationFlags struct { cfgPath string kubeconfigPath string cfg kubeadmapiv1.ClusterConfiguration } func addExpirationFlags(cmd *cobra.Command, flags *expirationFlags) { options.AddConfigFlag(cmd.Flags(), &flags.cfgPath) options.AddCertificateDirFlag(cmd.Flags(), &flags.cfg.CertificatesDir)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 19.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/init_test.go
{ name: "pre-flights errors from InitConfiguration only", flags: map[string]string{ options.CfgPath: configFilePath, }, validate: expectedInitIgnorePreflightErrors("c", "d"), }, { name: "pre-flights errors from both CLI args and InitConfiguration", flags: map[string]string{ options.CfgPath: configFilePath, options.IgnorePreflightErrors: "a,b", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 11.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go
options.APIServerAdvertiseAddress, options.CfgPath, options.ControlPlane, options.NodeName, options.FileDiscovery, options.TokenDiscovery, options.TokenDiscoveryCAHash, options.TokenDiscoverySkipCAHash, options.TLSBootstrapToken, options.TokenStr, options.DryRun, } case "kubeconfig": flags = []string{ options.CfgPath, options.ControlPlane, options.FileDiscovery,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 18 12:46:34 UTC 2024 - 9.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/kubeconfig.go
func newCmdUserKubeConfig(out io.Writer) *cobra.Command { initCfg := &kubeadmapiv1.InitConfiguration{} clusterCfg := &kubeadmapiv1.ClusterConfiguration{} var ( token, clientName, cfgPath string organizations []string validityPeriod time.Duration ) // Creates the UX Command cmd := &cobra.Command{ Use: "user",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.6K bytes - Viewed (0) -
pilot/pkg/config/kube/crdclient/client_test.go
name := "name1" namespace := "bar" cfgMeta := config.Meta{ GroupVersionKind: r.GroupVersionKind(), Name: name, } if !r.IsClusterScoped() { cfgMeta.Namespace = namespace } pb := &v1alpha3.WorkloadGroup{Probe: &v1alpha3.ReadinessProbe{PeriodSeconds: 6}} if _, err := store.Create(config.Config{ Meta: cfgMeta, Spec: config.Spec(pb), }); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 10 02:58:52 UTC 2024 - 14.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/join_test.go
name: "pre-flights errors from JoinConfiguration only", flags: map[string]string{ options.CfgPath: configFilePath, }, validate: expectedJoinIgnorePreflightErrors(sets.New("c", "d")), }, { name: "pre-flights errors from both CLI args and JoinConfiguration", flags: map[string]string{ options.CfgPath: configFilePath, options.IgnorePreflightErrors: "a,b", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 19 12:26:20 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/diff.go
controllerManagerManifestPath string schedulerManifestPath string newK8sVersionStr string contextLines int kubeConfigPath string cfgPath string out io.Writer } var ( defaultAPIServerManifestPath = constants.GetStaticPodFilepath(constants.KubeAPIServer, constants.GetStaticPodDirectory())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 11:04:08 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/kubeletfinalize.go
InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun}, Example: kubeletFinalizePhaseExample, RunAllSiblings: true, }, { Name: "enable-client-cert-rotation", Short: "Enable kubelet client certificate rotation", InheritFlags: []string{options.CfgPath, options.CertificatesDir, options.DryRun},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 10:54:51 UTC 2024 - 6.8K bytes - Viewed (0)