Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for mutatingwebhookconfigurations (0.14 sec)

  1. istioctl/pkg/tag/util.go

    	"istio.io/api/label"
    	"istio.io/istio/istioctl/pkg/util"
    )
    
    func GetRevisionWebhooks(ctx context.Context, client kubernetes.Interface) ([]admitv1.MutatingWebhookConfiguration, error) {
    	webhooks, err := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{
    		LabelSelector: label.IoIstioRev.Name,
    	})
    	if err != nil {
    		return nil, err
    	}
    	return webhooks.Items, nil
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. istioctl/pkg/tag/tag_test.go

    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "istio-revision-tag-wrong",
    							Labels: map[string]string{label.IoIstioTag.Name: "wrong"},
    						},
    					},
    				},
    			},
    			webhooksAfter: admitv1.MutatingWebhookConfigurationList{
    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. istioctl/pkg/tag/revision.go

    	}
    
    	return revisions, nil
    }
    
    func Webhooks(ctx context.Context, client kube.CLIClient) ([]admitv1.MutatingWebhookConfiguration, error) {
    	hooks, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(ctx, metav1.ListOptions{})
    	if err != nil {
    		return []admitv1.MutatingWebhookConfiguration{}, err
    	}
    	return hooks.Items, nil
    }
    
    func renderWithDefault(s, def string) string {
    	if s != "" {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. istioctl/pkg/checkinject/checkinject.go

    				return matched, fmt.Sprintf("%s=%s", me.Key, v)
    			}
    		}
    	}
    	return matched, ""
    }
    
    func extractRevision(wh *admitv1.MutatingWebhookConfiguration) string {
    	return wh.GetLabels()[label.IoIstioRev.Name]
    }
    
    func isIstioWebhook(wh *admitv1.MutatingWebhookConfiguration) bool {
    	for _, w := range wh.Webhooks {
    		if strings.HasSuffix(w.Name, "istio.io") {
    			return true
    		}
    	}
    	return false
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. istioctl/pkg/checkinject/testdata/check-inject/rev-16-injector.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      labels:
        app: sidecar-injector
        install.operator.istio.io/owning-resource: unknown
        install.operator.istio.io/owning-resource-namespace: istio-system
        istio.io/rev: 1-16
        operator.istio.io/component: Pilot
        operator.istio.io/managed: Reconcile
        operator.istio.io/version: 1.16-alpha.91e471de3e8fc93ebb545cedf396ddbd550b996c
        release: istio
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. istioctl/pkg/checkinject/testdata/check-inject/never-match-injector.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      labels:
        app: sidecar-injector
        install.operator.istio.io/owning-resource-namespace: istio-system
        istio.io/rev: default
        operator.istio.io/component: Pilot
        operator.istio.io/managed: Reconcile
        operator.istio.io/version: 1.15.1
        release: istio
      name: istio-sidecar-injector-deactivated
    webhooks:
      - admissionReviewVersions:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  7. istioctl/pkg/checkinject/testdata/check-inject/default-injector.yaml

    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      labels:
        app: sidecar-injector
        install.operator.istio.io/owning-resource: example-istiocontrolplane
        install.operator.istio.io/owning-resource-namespace: istio-system
        istio.io/rev: default
        operator.istio.io/component: Pilot
        operator.istio.io/managed: Reconcile
        operator.istio.io/version: 1.14.0
        release: istio
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top