Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for matchPolicy (0.14 sec)

  1. staging/src/k8s.io/client-go/applyconfigurations/admissionregistration/v1/matchresources.go

    	ExcludeResourceRules []NamedRuleWithOperationsApplyConfiguration `json:"excludeResourceRules,omitempty"`
    	MatchPolicy          *apiadmissionregistrationv1.MatchPolicyType `json:"matchPolicy,omitempty"`
    }
    
    // MatchResourcesApplyConfiguration constructs an declarative configuration of the MatchResources type for use with
    // apply.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. pkg/apis/admissionregistration/v1/defaults.go

    	if obj.FailurePolicy == nil {
    		policy := admissionregistrationv1.Fail
    		obj.FailurePolicy = &policy
    	}
    	if obj.MatchPolicy == nil {
    		policy := admissionregistrationv1.Equivalent
    		obj.MatchPolicy = &policy
    	}
    	if obj.NamespaceSelector == nil {
    		selector := metav1.LabelSelector{}
    		obj.NamespaceSelector = &selector
    	}
    	if obj.ObjectSelector == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. pkg/apis/admissionregistration/v1/defaults_test.go

    				Webhooks: []v1.ValidatingWebhook{{}},
    			},
    			expected: &v1.ValidatingWebhookConfiguration{
    				Webhooks: []v1.ValidatingWebhook{{
    					FailurePolicy:     &fail,
    					MatchPolicy:       &equivalent,
    					TimeoutSeconds:    &ten,
    					NamespaceSelector: &metav1.LabelSelector{},
    					ObjectSelector:    &metav1.LabelSelector{},
    				}},
    			},
    		},
    		{
    			name: "MutatingWebhookConfiguration",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching.go

    		return false, schema.GroupVersionResource{}, schema.GroupVersionKind{}, nil
    	}
    
    	matchResources := criteria.GetMatchResources()
    	matchPolicy := matchResources.MatchPolicy
    	if isExcluded, _, _, err := matchesResourceRules(matchResources.ExcludeResourceRules, matchPolicy, attr, o); isExcluded || err != nil {
    		return false, schema.GroupVersionResource{}, schema.GroupVersionKind{}, err
    	}
    
    	var (
    		isMatch       bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/default_tag.yaml

    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        service:
          name: istiod-test-dev2
          namespace: istio-system
          path: /inject
          port: 443
      failurePolicy: Fail
      matchPolicy: Equivalent
      name: rev.namespace.sidecar-injector.istio.io
      namespaceSelector:
        matchExpressions:
        - key: istio.io/rev
          operator: In
          values:
          - default
        - key: istio-injection
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 09 17:23:44 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. common-protos/k8s.io/api/admission/v1/generated.proto

      //
      // For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
      // `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
      // an API request to apps/v1beta1 deployments would be converted and sent to the webhook
      // with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  7. common-protos/k8s.io/api/admission/v1beta1/generated.proto

      //
      // For example, if deployments can be modified via apps/v1 and apps/v1beta1, and a webhook registered a rule of
      // `apiGroups:["apps"], apiVersions:["v1"], resources: ["deployments"]` and `matchPolicy: Equivalent`,
      // an API request to apps/v1beta1 deployments would be converted and sent to the webhook
      // with `kind: {group:"apps", version:"v1", kind:"Deployment"}` (matching the rule the webhook registered for),
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/duplicate_mwc.yaml

      
    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        service:
          name: istiod
          namespace: istio-system
          path: /inject
          port: 443
      failurePolicy: Fail
      matchPolicy: Equivalent
      name: rev.namespace.sidecar-injector.istio.io
      namespaceSelector:
        matchExpressions:
        - key: istio.io/rev
          operator: In
          values:
          - default
        - key: istio-injection
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. operator/cmd/mesh/testdata/manifest-generate/input-extra-resources/default_installation_failed.yaml

    webhooks:
    - admissionReviewVersions:
      - v1beta1
      - v1
      clientConfig:
        service:
          name: istiod
          namespace: istio-system
          path: /inject
          port: 443
      failurePolicy: Fail
      matchPolicy: Equivalent
      name: rev.namespace.sidecar-injector.istio.io
      namespaceSelector:
        matchExpressions:
        - key: istio.io/rev
          operator: In
          values:
          - default
        - key: istio-injection
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 22 08:32:23 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go

    			expectMatches: false,
    		},
    		{
    			name: "specific rules, exact match miss",
    			criteria: &v1.MatchResources{
    				MatchPolicy:       &exactMatch,
    				NamespaceSelector: &metav1.LabelSelector{},
    				ObjectSelector:    &metav1.LabelSelector{},
    				ResourceRules: []v1.NamedRuleWithOperations{{
    					RuleWithOperations: v1.RuleWithOperations{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top