Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for KubeConfigFile (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.deepcopy.go

    func (in *WebhookConnectionInfo) DeepCopyInto(out *WebhookConnectionInfo) {
    	*out = *in
    	if in.KubeConfigFile != nil {
    		in, out := &in.KubeConfigFile, &out.KubeConfigFile
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConnectionInfo.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/zz_generated.conversion.go

    func autoConvert_v1beta1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo(in *WebhookConnectionInfo, out *apiserver.WebhookConnectionInfo, s conversion.Scope) error {
    	out.Type = in.Type
    	out.KubeConfigFile = (*string)(unsafe.Pointer(in.KubeConfigFile))
    	return nil
    }
    
    // Convert_v1beta1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 05 17:10:34 UTC 2024
    - 45.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1alpha1/zz_generated.conversion.go

    func autoConvert_v1alpha1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo(in *WebhookConnectionInfo, out *apiserver.WebhookConnectionInfo, s conversion.Scope) error {
    	out.Type = in.Type
    	out.KubeConfigFile = (*string)(unsafe.Pointer(in.KubeConfigFile))
    	return nil
    }
    
    // Convert_v1alpha1_WebhookConnectionInfo_To_apiserver_WebhookConnectionInfo is an autogenerated conversion function.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 00:57:24 UTC 2024
    - 50K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/apis/apiserver/zz_generated.deepcopy.go

    func (in *WebhookConnectionInfo) DeepCopyInto(out *WebhookConnectionInfo) {
    	*out = *in
    	if in.KubeConfigFile != nil {
    		in, out := &in.KubeConfigFile, &out.KubeConfigFile
    		*out = new(string)
    		**out = **in
    	}
    	return
    }
    
    // DeepCopy is an autogenerated deepcopy function, copying the receiver, creating a new WebhookConnectionInfo.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Dec 18 20:54:24 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook_test.go

    				}
    
    				kubeConfig.CurrentContext = tt.currentContext
    
    				kubeConfigFile, err := newKubeConfigFile(kubeConfig)
    				if err != nil {
    					return err
    				}
    
    				defer os.Remove(kubeConfigFile)
    
    				config, err := LoadKubeconfig(kubeConfigFile, nil)
    				if err != nil {
    					return err
    				}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 25.8K bytes
    - Viewed (0)
  6. pkg/kubeapiserver/authorizer/reload.go

    				return nil, nil, errors.New("retry backoff parameters for authorization webhook has not been specified")
    			}
    			clientConfig, err := webhookutil.LoadKubeconfig(*configuredAuthorizer.Webhook.ConnectionInfo.KubeConfigFile, r.initialConfig.CustomDial)
    			if err != nil {
    				return nil, nil, err
    			}
    			var decisionOnError authorizer.Decision
    			switch configuredAuthorizer.Webhook.FailurePolicy {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/options/authorization.go

    					SubjectAccessReviewVersion: o.WebhookVersion,
    					ConnectionInfo: authzconfig.WebhookConnectionInfo{
    						Type:           authzconfig.AuthorizationWebhookConnectionInfoTypeKubeConfigFile,
    						KubeConfigFile: &o.WebhookConfigFile,
    					},
    				},
    			})
    		default:
    			authorizers = append(authorizers, authzconfig.AuthorizerConfiguration{
    				Type: authzconfig.AuthorizerType(mode),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token_test.go

    			kubeConfigEnv: fullPath,
    			expectedError: false,
    		},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			// the command is created for each test so that the kubeConfigFile
    			// variable in newCmdToken() is reset.
    			cmd := newCmdToken(&buf, &bufErr)
    			if _, err = f.WriteString(tc.configToWrite); err != nil {
    				t.Errorf("Unable to write test file %q: %v", fullPath, err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. plugin/pkg/admission/imagepolicy/admission_test.go

    )
    
    const defaultConfigTmplJSON = `
    {
    "imagePolicy": {
    	"kubeConfigFile": "{{ .KubeConfig }}",
    	"allowTTL": {{ .AllowTTL }},
    	"denyTTL": {{ .DenyTTL }},
    	"retryBackoff": {{ .RetryBackoff }},
    	"defaultAllow": {{ .DefaultAllow }}
    }
    }
    `
    
    const defaultConfigTmplYAML = `
    imagePolicy:
      kubeConfigFile: "{{ .KubeConfig }}"
      allowTTL: {{ .AllowTTL }}
      denyTTL: {{ .DenyTTL }}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 02 06:05:06 UTC 2023
    - 32.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/apis/kubeadm/v1beta3/types.go

    	// TLSBootstrapToken is a token used for TLS bootstrapping.
    	// If .BootstrapToken is set, this field is defaulted to .BootstrapToken.Token, but can be overridden.
    	// If .File is set, this field **must be set** in case the KubeConfigFile does not contain any other authentication information
    	// +optional
    	TLSBootstrapToken string `json:"tlsBootstrapToken,omitempty" datapolicy:"token"`
    
    	// Timeout modifies the discovery timeout
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 11 10:21:20 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top