Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 51 for cfgData (0.16 sec)

  1. 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)
  2. 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)
  3. pkg/test/framework/config/map.go

    			return nil
    		}
    		out = append(out, meta)
    	}
    	return out
    }
    
    func toMap(orig any) (Map, bool) {
    	// keys are strings, easily cast
    	if cfgMeta, ok := orig.(Map); ok {
    		return cfgMeta, true
    	}
    	// keys are interface{}, manually change to string keys
    	mapInterface, ok := orig.(map[any]any)
    	if !ok {
    		// not a map at all
    		return nil, false
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. cmd/admin-bucket-handlers.go

    		bucketQuotaConfigFile,
    		objectLockConfig,
    		bucketVersioningConfig,
    		bucketReplicationConfig,
    		bucketTargetsFile,
    	}
    	for _, bi := range buckets {
    		for _, cfgFile := range cfgFiles {
    			cfgPath := pathJoin(bi.Name, cfgFile)
    			bucket := bi.Name
    			switch cfgFile {
    			case bucketNotificationConfig:
    				config, err := globalBucketMetadataSys.GetNotificationConfig(bucket)
    				if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token.go

    			client, err := cmdutil.GetClientSet(kubeConfigFile, dryRun)
    			if err != nil {
    				return err
    			}
    
    			return RunCreateToken(out, client, cfgPath, cfg, printJoinCommand, certificateKey, kubeConfigFile)
    		},
    	}
    
    	options.AddConfigFlag(createCmd.Flags(), &cfgPath)
    	createCmd.Flags().BoolVar(&printJoinCommand,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/upgrade/node.go

    // Please note that this structure includes the public kubeadm config API, but only a subset of the options
    // supported by this api will be exposed as a flag.
    type nodeOptions struct {
    	cfgPath               string
    	kubeConfigPath        string
    	etcdUpgrade           bool
    	renewCerts            bool
    	dryRun                bool
    	patchesDir            string
    	ignorePreflightErrors []string
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 08:34:39 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/reset.go

    	`)
    )
    
    // resetOptions defines all the options exposed via flags by kubeadm reset.
    type resetOptions struct {
    	kubeconfigPath        string
    	cfgPath               string
    	ignorePreflightErrors []string
    	externalcfg           *v1beta4.ResetConfiguration
    	skipCRIDetect         bool
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 17 12:26:58 UTC 2023
    - 11.4K bytes
    - Viewed (0)
Back to top