Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for KubeConfigFile (0.31 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/kubeconfig.go

    		if !ok {
    			return "", fmt.Errorf("unexpected type: %T", decodedObj)
    		}
    
    		if !path.IsAbs(config.KubeConfigFile) {
    			return "", field.Invalid(field.NewPath("kubeConfigFile"), config.KubeConfigFile, "must be an absolute file path")
    		}
    
    		kubeconfigFile = config.KubeConfigFile
    	}
    	return kubeconfigFile, nil
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission/v1/types.go

    // WebhookAdmission provides configuration for the webhook admission controller.
    type WebhookAdmission struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// KubeConfigFile is the path to the kubeconfig file.
    	KubeConfigFile string `json:"kubeConfigFile"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 12 14:56:58 UTC 2019
    - 960 bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission/v1/zz_generated.conversion.go

    		return err
    	}
    	return nil
    }
    
    func autoConvert_v1_WebhookAdmission_To_webhookadmission_WebhookAdmission(in *WebhookAdmission, out *webhookadmission.WebhookAdmission, s conversion.Scope) error {
    	out.KubeConfigFile = in.KubeConfigFile
    	return nil
    }
    
    // Convert_v1_WebhookAdmission_To_webhookadmission_WebhookAdmission is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission/v1alpha1/zz_generated.conversion.go

    		return err
    	}
    	return nil
    }
    
    func autoConvert_v1alpha1_WebhookAdmission_To_webhookadmission_WebhookAdmission(in *WebhookAdmission, out *webhookadmission.WebhookAdmission, s conversion.Scope) error {
    	out.KubeConfigFile = in.KubeConfigFile
    	return nil
    }
    
    // Convert_v1alpha1_WebhookAdmission_To_webhookadmission_WebhookAdmission is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 3K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/cmd/util/join.go

    func GetJoinWorkerCommand(kubeConfigFile, token string, skipTokenPrint bool) (string, error) {
    	return getJoinCommand(kubeConfigFile, token, "", false, skipTokenPrint, false)
    }
    
    // GetJoinControlPlaneCommand returns the kubeadm join command for a given token and
    // Kubernetes cluster (the current cluster in the kubeconfig file)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/config/apis/webhookadmission/v1alpha1/types.go

    // WebhookAdmission provides configuration for the webhook admission controller.
    type WebhookAdmission struct {
    	metav1.TypeMeta `json:",inline"`
    
    	// KubeConfigFile is the path to the kubeconfig file.
    	KubeConfigFile string `json:"kubeConfigFile"`
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 21 17:25:24 UTC 2017
    - 966 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/apis/apiserver/validation/validation.go

    		} else if !filepath.IsAbs(*c.ConnectionInfo.KubeConfigFile) {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("connectionInfo", "kubeConfigFile"), *c.ConnectionInfo.KubeConfigFile, "must be an absolute path"))
    		} else if info, err := os.Stat(*c.ConnectionInfo.KubeConfigFile); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 31.3K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token.go

    			}
    
    			klog.V(1).Infoln("[token] getting Clientsets from kubeconfig file")
    			kubeConfigFile = cmdutil.GetKubeConfigPath(kubeConfigFile)
    			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)
    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/phases/controlplane/manifests.go

    	kubeconfigFile := filepath.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.SchedulerKubeConfigFileName)
    	defaultArguments := []kubeadmapi.Arg{
    		{Name: "bind-address", Value: "127.0.0.1"},
    		{Name: "leader-elect", Value: "true"},
    		{Name: "kubeconfig", Value: kubeconfigFile},
    		{Name: "authentication-kubeconfig", Value: kubeconfigFile},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Mar 03 14:43:47 UTC 2024
    - 17.8K bytes
    - Viewed (0)
  10. tests/fuzz/bootstrap_fuzzer.go

    		return 0
    	}
    
    	// Create kube config file
    	kubeConfigFile, err := createRandomConfigFile(f)
    	if err != nil {
    		return 0
    	}
    	defer os.Remove(kubeConfigFile)
    
    	args := &bootstrap.PilotArgs{}
    	err = f.GenerateStruct(args)
    	if err != nil {
    		return 0
    	}
    
    	args.MeshConfigFile = meshConfigFile
    	args.RegistryOptions.KubeConfig = kubeConfigFile
    	args.ShutdownDuration = 1 * time.Millisecond
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 20 06:17:08 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top