Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for MutatingAdmissionWebhook (0.79 sec)

  1. pkg/kubeapiserver/options/plugins_test.go

    	"testing"
    )
    
    func TestAdmissionPluginOrder(t *testing.T) {
    	// Ensure the last four admission plugins listed are webhooks, quota, and deny
    	allplugins := strings.Join(AllOrderedPlugins, ",")
    	expectSuffix := ",MutatingAdmissionWebhook,ValidatingAdmissionPolicy,ValidatingAdmissionWebhook,ResourceQuota,AlwaysDeny"
    	if !strings.HasSuffix(allplugins, expectSuffix) {
    		t.Fatalf("AllOrderedPlugins must end with ...%s", expectSuffix)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:38:55 UTC 2022
    - 1K bytes
    - Viewed (0)
  2. pkg/kubeapiserver/options/plugins.go

    	// new admission plugins should generally be inserted above here
    	// webhook, resourcequota, and deny plugins must go at the end
    
    	mutatingwebhook.PluginName,           // MutatingAdmissionWebhook
    	validatingadmissionpolicy.PluginName, // ValidatingAdmissionPolicy
    	validatingwebhook.PluginName,         // ValidatingAdmissionWebhook
    	resourcequota.PluginName,             // ResourceQuota
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 20 17:20:46 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/plugin.go

    	"k8s.io/apiserver/pkg/admission/configuration"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/generic"
    )
    
    const (
    	// PluginName indicates the name of admission plug-in
    	PluginName = "MutatingAdmissionWebhook"
    )
    
    // Register registers a plugin
    func Register(plugins *admission.Plugins) {
    	plugins.Register(PluginName, func(configFile io.Reader) (admission.Interface, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 20 15:11:00 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    		"--kubeconfig", fakeKubeConfig.Name(),
    		// disable admission and filters that require talking to kube-apiserver
    		"--enable-priority-and-fairness=false",
    		"--disable-admission-plugins", "NamespaceLifecycle,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ValidatingAdmissionPolicy"},
    		flags...,
    	), nil)
    	if err != nil {
    		os.Remove(fakeKubeConfig.Name())
    		return nil, servertesting.TestServer{}, err
    	}
    
    	tearDownFn := func() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. hack/make-rules/test-cmd.sh

      # Admission Controllers to invoke prior to persisting objects in cluster
      ENABLE_ADMISSION_PLUGINS="LimitRanger,ResourceQuota"
      DISABLE_ADMISSION_PLUGINS="ServiceAccount,DefaultStorageClass,DefaultTolerationSeconds,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,StorageObjectInUseProtection"
    
      # Include RBAC (to exercise bootstrapping), and AlwaysAllow to allow all actions
      AUTHORIZATION_MODE="RBAC,AlwaysAllow"
    
      # Enable features
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 09 09:10:14 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/admission_test.go

    		setDisablePlugins         []string
    		setAdmissionControl       []string
    	}{
    		// scenario 0: check if a call to enabledPluginNames sets expected values.
    		{
    			expectedPluginNames: []string{"NamespaceLifecycle", "MutatingAdmissionWebhook", "ValidatingAdmissionPolicy", "ValidatingAdmissionWebhook"},
    		},
    
    		// scenario 1: use default off plugins if no specified
    		{
    			expectedPluginNames:       []string{"pluginB"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admission/v1/types_swagger_doc_generated.go

    	"patchType":        "The type of Patch. Currently we only allow \"JSONPatch\".",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 22 00:51:25 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  8. common-protos/k8s.io/api/admission/v1/generated.proto

      // +optional
      optional string patchType = 5;
    
      // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted).
      // MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
      // admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      // +optional
      optional string patchType = 5;
    
      // AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted).
      // MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
      // admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. pkg/apis/admission/types.go

    	// +optional
    	PatchType *PatchType
    	// AuditAnnotations is an unstructured key value map set by remote admission controller (e.g. error=image-blacklisted).
    	// MutatingAdmissionWebhook and ValidatingAdmissionWebhook admission controller will prefix the keys with
    	// admission webhook name (e.g. imagepolicy.example.com/error=image-blacklisted). AuditAnnotations will be provided by
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 7.8K bytes
    - Viewed (0)
Back to top