Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 57 for MutatingWebhook (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/admission.go

    	admissionmetrics "k8s.io/apiserver/pkg/admission/metrics"
    	"k8s.io/apiserver/pkg/admission/plugin/namespace/lifecycle"
    	validatingadmissionpolicy "k8s.io/apiserver/pkg/admission/plugin/policy/validating"
    	mutatingwebhook "k8s.io/apiserver/pkg/admission/plugin/webhook/mutating"
    	validatingwebhook "k8s.io/apiserver/pkg/admission/plugin/webhook/validating"
    	apiserverapi "k8s.io/apiserver/pkg/apis/apiserver"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1beta1/defaults.go

    	}
    }
    
    // SetDefaults_MutatingWebhook sets defaults for webhook mutating
    func SetDefaults_MutatingWebhook(obj *admissionregistrationv1beta1.MutatingWebhook) {
    	if obj.FailurePolicy == nil {
    		policy := admissionregistrationv1beta1.Ignore
    		obj.FailurePolicy = &policy
    	}
    	if obj.MatchPolicy == nil {
    		policy := admissionregistrationv1beta1.Exact
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 20:24:09 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/fuzzer/fuzzer.go

    				obj.SideEffects = &s
    			}
    			if obj.TimeoutSeconds == nil {
    				i := int32(30)
    				obj.TimeoutSeconds = &i
    			}
    			obj.AdmissionReviewVersions = []string{"v1beta1"}
    		},
    		func(obj *admissionregistration.MutatingWebhook, c fuzz.Continue) {
    			c.FuzzNoCustom(obj) // fuzz self without calling this function again
    			if obj.FailurePolicy == nil {
    				p := admissionregistration.FailurePolicyType("Fail")
    				obj.FailurePolicy = &p
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:09 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1beta1/generated.pb.go

    func (m *MutatingWebhook) Reset()      { *m = MutatingWebhook{} }
    func (*MutatingWebhook) ProtoMessage() {}
    func (*MutatingWebhook) Descriptor() ([]byte, []int) {
    	return fileDescriptor_7f7c65a4f012fb19, []int{4}
    }
    func (m *MutatingWebhook) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *MutatingWebhook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:37 UTC 2024
    - 187.9K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/validation/validation.go

    		allErrors = append(allErrors, validateMatchConditions(hook.MatchConditions, opts, fldPath.Child("matchConditions"))...)
    	}
    
    	return allErrors
    }
    
    func validateMutatingWebhook(hook *admissionregistration.MutatingWebhook, opts validationOptions, fldPath *field.Path) field.ErrorList {
    	var allErrors field.ErrorList
    	// hook.Name must be fully qualified
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/api/admissionregistration/v1/generated.pb.go

    func (m *MutatingWebhook) Reset()      { *m = MutatingWebhook{} }
    func (*MutatingWebhook) ProtoMessage() {}
    func (*MutatingWebhook) Descriptor() ([]byte, []int) {
    	return fileDescriptor_3205c7dc5bf0c9bf, []int{4}
    }
    func (m *MutatingWebhook) XXX_Unmarshal(b []byte) error {
    	return m.Unmarshal(b)
    }
    func (m *MutatingWebhook) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 200.5K bytes
    - Viewed (0)
  7. pkg/config/analysis/analyzers/webhook/webhook.go

    		{"sidecar.istio.io/inject": "false"},
    	}
    }
    
    func (a *Analyzer) Analyze(context analysis.Context) {
    	// First, extract and index all webhooks we found
    	webhooks := map[string][]v1.MutatingWebhook{}
    	resources := map[string]*resource.Instance{}
    	revisions := sets.New[string]()
    	context.ForEach(gvk.MutatingWebhookConfiguration, func(resource *resource.Instance) bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/configuration/mutating_webhook_manager.go

    	"k8s.io/client-go/tools/cache"
    	"k8s.io/client-go/tools/cache/synctrack"
    	"k8s.io/klog/v2"
    )
    
    // Type for test injection.
    type mutatingWebhookAccessorCreator func(uid string, configurationName string, h *v1.MutatingWebhook) webhook.WebhookAccessor
    
    // mutatingWebhookConfigurationManager collects the mutating webhook objects so that they can be called.
    type mutatingWebhookConfigurationManager struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 13 22:43:12 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/admissionregistration/v1beta1/generated.proto

      // Documentation on CEL: https://kubernetes.io/docs/reference/using-api/cel/
      //
      // Required.
      optional string expression = 2;
    }
    
    // MutatingWebhook describes an admission webhook and the resources and operations it applies to.
    message MutatingWebhook {
      // The name of the admission webhook.
      // Name should be fully qualified, e.g., imagepolicy.kubernetes.io, where
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    			return statusErr
    		}
    		if invocation == nil {
    			continue
    		}
    
    		hook, ok := invocation.Webhook.GetMutatingWebhook()
    		if !ok {
    			return fmt.Errorf("mutating webhook dispatch requires v1.MutatingWebhook, but got %T", hook)
    		}
    		// This means that during reinvocation, a webhook will not be
    		// called for the first time. For example, if the webhook is
    		// skipped in the first round because of mismatching labels,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top