Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 277 for KubeConfig (0.2 sec)

  1. tests/util/kubeconfig

    Eric Van Norman <******@****.***> 1580180787 -0600
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 28 03:06:26 UTC 2020
    - 186 bytes
    - Viewed (0)
  2. cni/pkg/install/kubeconfig.go

    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pkg/file"
    )
    
    type kubeconfig struct {
    	// The full kubeconfig
    	Full string
    	// Kubeconfig with confidential data redacted.
    	Redacted string
    }
    
    func createKubeConfig(cfg *config.InstallConfig) (kubeconfig, error) {
    	if len(cfg.K8sServiceHost) == 0 {
    		return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_HOST not set. Is this not running within a pod?")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/kubeconfig/kubeconfig.go

    	return config
    }
    
    // ClientSetFromFile returns a ready-to-use client from a kubeconfig file
    func ClientSetFromFile(path string) (clientset.Interface, error) {
    	config, err := clientcmd.LoadFromFile(path)
    	if err != nil {
    		return nil, errors.Wrap(err, "failed to load admin kubeconfig")
    	}
    	return ToClientSet(config)
    }
    
    // ToClientSet converts a KubeConfig object to a client
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 10:21:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/init/kubeconfig.go

    )
    
    // NewKubeConfigPhase creates a kubeadm workflow phase that creates all kubeconfig files necessary to establish the control plane and the admin kubeconfig file.
    func NewKubeConfigPhase() workflow.Phase {
    	return workflow.Phase{
    		Name:  "kubeconfig",
    		Short: "Generate all kubeconfig files necessary to establish the control plane and the admin kubeconfig file",
    		Long:  cmdutil.MacroCommandLongDescription,
    		Phases: []workflow.Phase{
    			{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 26 04:36:03 UTC 2023
    - 6K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/kubeconfig.go

    	# Output a kubeconfig file for an additional user named foo
    	kubeadm kubeconfig user --client-name=foo
    
    	# Output a kubeconfig file for an additional user named foo using a kubeadm config file bar
    	kubeadm kubeconfig user --client-name=foo --config=bar
    	`)
    )
    
    // newCmdKubeConfigUtility returns main command for kubeconfig phase
    func newCmdKubeConfigUtility(out io.Writer) *cobra.Command {
    	cmd := &cobra.Command{
    		Use:   "kubeconfig",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    			return err
    		}
    		fmt.Printf("[kubeconfig] Writing %q kubeconfig file\n", filename)
    		err = kubeconfigutil.WriteToDisk(kubeConfigFilePath, config)
    		return errors.Wrapf(err, "failed to save kubeconfig file %q on disk", kubeConfigFilePath)
    	}
    	// kubeadm doesn't validate the existing kubeconfig file more than this (kubeadm trusts the client certs to be valid)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  7. cni/pkg/install/testdata/kubeconfig-newhost

    Ben Leggett <******@****.***> 1691716743 -0400
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Aug 11 01:19:03 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. cni/pkg/install/testdata/kubeconfig-tls

    John Howard <******@****.***> 1684290142 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/kubeconfig.go

    Stephen Kitt <******@****.***> 1683032898 +0200
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. cni/pkg/install/testdata/kubeconfig-skip-tls

    John Howard <******@****.***> 1684290142 -0700
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 17 02:22:22 UTC 2023
    - 342 bytes
    - Viewed (0)
Back to top