Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for cfgData (0.39 sec)

  1. 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)
  2. 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)
  3. 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)
  4. cmd/kubeadm/app/util/config/cluster_test.go

    			expectedError: true,
    		},
    	}
    
    	for _, rt := range tests {
    		t.Run(rt.name, func(t2 *testing.T) {
    			cfgPath := filepath.Join(tmpdir, kubeadmconstants.KubeletKubeConfigFileName)
    			if len(rt.fileContents) > 0 {
    				err := os.WriteFile(cfgPath, rt.fileContents, 0644)
    				if err != nil {
    					t.Errorf("Couldn't create file")
    					return
    				}
    			}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 14 13:07:56 UTC 2024
    - 26.7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/phases/init/preflight.go

    		Name:    "preflight",
    		Short:   "Run pre-flight checks",
    		Long:    "Run pre-flight checks for kubeadm init.",
    		Example: preflightExample,
    		Run:     runPreflight,
    		InheritFlags: []string{
    			options.CfgPath,
    			options.ImageRepository,
    			options.NodeCRISocket,
    			options.IgnorePreflightErrors,
    			options.DryRun,
    		},
    	}
    }
    
    // runPreflight executes preflight checks logic.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 03:55:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/cmd/options/constant.go

    	APIServerExtraArgs = "apiserver-extra-args"
    
    	// CertificatesDir flag sets the path where to save and read the certificates.
    	CertificatesDir = "cert-dir"
    
    	// CfgPath flag sets the path to kubeadm config file.
    	CfgPath = "config"
    
    	// ControllerManagerExtraArgs flag sets extra flags to pass to the Controller Manager or override default ones in form of <flagname>=<value>.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/addons.go

    		return err
    	}
    	return proxyaddon.EnsureProxyAddon(&cfg.ClusterConfiguration, &cfg.LocalAPIEndpoint, client, out, printManifest)
    }
    
    func getAddonPhaseFlags(name string) []string {
    	flags := []string{
    		options.CfgPath,
    		options.KubeconfigPath,
    		options.KubernetesVersion,
    		options.ImageRepository,
    		options.DryRun,
    	}
    	if name == "all" || name == "kube-proxy" {
    		flags = append(flags,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/phases/init/uploadconfig.go

    				Run:          runUploadKubeletConfig,
    				InheritFlags: getUploadConfigPhaseFlags(),
    			},
    		},
    	}
    }
    
    func getUploadConfigPhaseFlags() []string {
    	return []string{
    		options.CfgPath,
    		options.NodeCRISocket,
    		options.KubeconfigPath,
    		options.DryRun,
    	}
    }
    
    // runUploadKubeadmConfig uploads the kubeadm configuration to a ConfigMap
    func runUploadKubeadmConfig(c workflow.RunData) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 02 12:34:30 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/join.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 joinOptions struct {
    	cfgPath               string
    	token                 string `datapolicy:"token"`
    	controlPlane          bool
    	ignorePreflightErrors []string
    	externalcfg           *kubeadmapiv1.JoinConfiguration
    	patchesDir            string
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 15:33:38 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  10. cni/pkg/install/install.go

    		cfgPath, err := createCNIConfigFile(ctx, in.cfg)
    		if err != nil {
    			cniInstalls.With(resultLabel.Value(resultCreateCNIConfigFailure)).Increment()
    			return copiedFiles, fmt.Errorf("create CNI config file: %v", err)
    		}
    		in.cniConfigFilepath = cfgPath
    	} else {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 21:45:18 UTC 2024
    - 10.7K bytes
    - Viewed (0)
Back to top