Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 130 for MutatingWebhookConfiguration (0.29 sec)

  1. staging/src/k8s.io/cli-runtime/pkg/resource/builder_example_test.go

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      name: mutating1
    ---
    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfigurationList
    items:
    - apiVersion: admissionregistration.k8s.io/v1
      kind: MutatingWebhookConfiguration
      metadata:
        name: mutating2
    - apiVersion: admissionregistration.k8s.io/v1
      kind: MutatingWebhookConfiguration
      metadata:
        name: mutating3
    ---
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  2. pkg/registry/admissionregistration/mutatingwebhookconfiguration/strategy.go

    func (mutatingWebhookConfigurationStrategy) NamespaceScoped() bool {
    	return false
    }
    
    // PrepareForCreate clears the status of an mutatingWebhookConfiguration before creation.
    func (mutatingWebhookConfigurationStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) {
    	ic := obj.(*admissionregistration.MutatingWebhookConfiguration)
    	ic.Generation = 1
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 4K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/tag_test.go

    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "istio-revision-tag-wrong",
    							Labels: map[string]string{IstioTagLabel: "wrong"},
    						},
    					},
    				},
    			},
    			webhooksAfter: admitv1.MutatingWebhookConfigurationList{
    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Nov 17 22:41:06 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  4. pkg/webhooks/webhookpatch_test.go

    			"config1",
    			"webhook1",
    			caBundle0,
    			errNotFound.Error(),
    		},
    		{
    			"WebhookEntryNotFound",
    			admissionregistrationv1.MutatingWebhookConfigurationList{
    				Items: []admissionregistrationv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "config1",
    							Labels: testRevisionLabel,
    						},
    					},
    				},
    			},
    			testRevision,
    			"config1",
    			"webhook1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Aug 02 09:53:38 UTC 2023
    - 8.6K bytes
    - Viewed (0)
  5. pkg/revisions/tag_watcher.go

    		return nil
    	}))
    	p.webhooks = kclient.NewFiltered[*admissionregistrationv1.MutatingWebhookConfiguration](client, kubetypes.Filter{
    		ObjectFilter: kubetypes.NewStaticObjectFilter(isTagWebhook),
    	})
    	p.index = kclient.CreateIndexWithDelegate[string, *admissionregistrationv1.MutatingWebhookConfiguration](p.webhooks,
    		func(o *admissionregistrationv1.MutatingWebhookConfiguration) []string {
    			rev := o.GetLabels()[label.IoIstioRev.Name]
    			if rev == "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. pkg/config/analysis/analyzers/webhook/webhook.go

    	revisions := sets.New[string]()
    	context.ForEach(gvk.MutatingWebhookConfiguration, func(resource *resource.Instance) bool {
    		if a.SkipDefaultRevisionedWebhook && isDefaultRevisionedWebhook(resource.Message.(*v1.MutatingWebhookConfiguration)) {
    			return true
    		}
    		wh := resource.Message.(*v1.MutatingWebhookConfiguration)
    		revs := extractRevisions(wh)
    		if len(revs) == 0 && !isIstioWebhook(wh) {
    			return true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. pkg/apis/admissionregistration/v1/defaults_test.go

    					NamespaceSelector: &metav1.LabelSelector{},
    					ObjectSelector:    &metav1.LabelSelector{},
    				}},
    			},
    		},
    		{
    			name: "MutatingWebhookConfiguration",
    			original: &v1.MutatingWebhookConfiguration{
    				Webhooks: []v1.MutatingWebhook{{}},
    			},
    			expected: &v1.MutatingWebhookConfiguration{
    				Webhooks: []v1.MutatingWebhook{{
    					FailurePolicy:      &fail,
    					MatchPolicy:        &equivalent,
    					ReinvocationPolicy: &never,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/admission/configuration/mutating_webhook_manager_test.go

    }
    
    func mutatingConfigurationTotalWebhooks(configurations []*v1.MutatingWebhookConfiguration) int {
    	total := 0
    	for _, configuration := range configurations {
    		total += len(configuration.Webhooks)
    	}
    	return total
    }
    
    func TestGetMutatingWebhookConfigSmartReload(t *testing.T) {
    	type args struct {
    		createWebhookConfigurations []*v1.MutatingWebhookConfiguration
    		updateWebhookConfigurations []*v1.MutatingWebhookConfiguration
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 12 15:20:14 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. pkg/config/schema/kind/resources.gen.go

    	case KubernetesGateway:
    		return "Gateway"
    	case Lease:
    		return "Lease"
    	case MeshConfig:
    		return "MeshConfig"
    	case MeshNetworks:
    		return "MeshNetworks"
    	case MutatingWebhookConfiguration:
    		return "MutatingWebhookConfiguration"
    	case Namespace:
    		return "Namespace"
    	case Node:
    		return "Node"
    	case PeerAuthentication:
    		return "PeerAuthentication"
    	case Pod:
    		return "Pod"
    	case ProxyConfig:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 07:19:38 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/externalcontrolplane/externalcontrolplane.go

    				reportWebhookURL(resource, hook.Name, hook.ClientConfig)
    			}
    		}
    
    		return true
    	})
    
    	c.ForEach(gvk.MutatingWebhookConfiguration, func(resource *resource.Instance) bool {
    		webhookConfig := resource.Message.(*v1.MutatingWebhookConfiguration)
    
    		// 2. MutatingWebhookConfiguration: istio-sidecar-injector
    		//            {{- if eq .Release.Namespace "istio-system"}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 16:48:42 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top