Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for MutatingWebhookConfigurations (0.28 sec)

  1. istioctl/pkg/tag/util.go

    	"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
    }
    
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Tue Jan 16 17:43:42 GMT 2024
    - 5.4K bytes
    - Viewed (1)
  2. manifests/charts/istiod-remote/templates/reader-clusterrole.yaml

    {{- if .Values.global.externalIstiod }}
      - apiGroups: [""]
        resources: ["configmaps"]
        verbs: ["create", "get", "list", "watch", "update"]
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["mutatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update", "patch"]
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["validatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update"]
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Jul 17 21:19:52 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  3. manifests/charts/istio-operator/templates/clusterrole.yaml

      - '*'
      verbs:
      - '*'
    - apiGroups:
      - security.istio.io
      resources:
      - '*'
      verbs:
      - '*'
    # k8s groups
    - apiGroups:
      - admissionregistration.k8s.io
      resources:
      - mutatingwebhookconfigurations
      - validatingwebhookconfigurations
      verbs:
      - '*'
    - apiGroups:
      - apiextensions.k8s.io
      resources:
      - customresourcedefinitions.apiextensions.k8s.io
      - customresourcedefinitions
      verbs:
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Nov 11 14:04:45 GMT 2022
    - 1.8K bytes
    - Viewed (0)
  4. istioctl/pkg/kubeinject/kubeinject.go

    	client, err := ctx.CLIClient()
    	if err != nil {
    		return e, err
    	}
    	if revision == "" {
    		revision = "default"
    	}
    	whcList, err := client.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.TODO(),
    		metav1.ListOptions{LabelSelector: fmt.Sprintf("%s=%s", label.IoIstioRev.Name, revision)})
    	if err != nil {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/reader-clusterrole.yaml

    {{- if .Values.global.externalIstiod }}
      - apiGroups: [""]
        resources: ["configmaps"]
        verbs: ["create", "get", "list", "watch", "update"]
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["mutatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update", "patch"]
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["validatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update"]
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Mon Jul 17 21:19:52 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  6. manifests/charts/istio-control/istio-discovery/templates/clusterrole.yaml

      labels:
        app: istiod
        release: {{ .Release.Name }}
    rules:
      # sidecar injection controller
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["mutatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update", "patch"]
    
      # configuration validation webhook controller
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["validatingwebhookconfigurations"]
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Nov 09 01:32:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  7. 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 {
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Jan 28 13:16:05 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  8. istioctl/pkg/checkinject/checkinject.go

    				if err != nil {
    					return err
    				}
    				podLabels = ls.MatchLabels
    				nsLabels = ns.GetLabels()
    			}
    			whs, err := kubeClient.Kube().AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.TODO(), metav1.ListOptions{})
    			if err != nil {
    				return err
    			}
    			checkResults := analyzeRunningWebhooks(whs.Items, podLabels, nsLabels)
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  9. manifests/charts/istiod-remote/templates/clusterrole.yaml

      labels:
        app: istiod
        release: {{ .Release.Name }}
    rules:
      # sidecar injection controller
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["mutatingwebhookconfigurations"]
        verbs: ["get", "list", "watch", "update", "patch"]
    
      # configuration validation webhook controller
      - apiGroups: ["admissionregistration.k8s.io"]
        resources: ["validatingwebhookconfigurations"]
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Nov 09 01:32:06 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  10. istioctl/pkg/tag/tag_test.go

    					t.Fatalf("expected \"%s\" in command output, got %s", s, commandOutput)
    				}
    			}
    
    			// check mutating webhooks after run
    			webhooksAfter, _ := client.AdmissionregistrationV1().MutatingWebhookConfigurations().List(context.Background(), metav1.ListOptions{})
    			if len(webhooksAfter.Items) != len(tc.webhooksAfter.Items) {
    				t.Fatalf("expected %d after running, got %d", len(tc.webhooksAfter.Items), len(webhooksAfter.Items))
    Go
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
Back to top