Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 4,713 for apiVersions (0.57 sec)

  1. pkg/registry/admissionregistration/validatingadmissionpolicy/strategy_test.go

    						RuleWithOperations: admissionregistration.RuleWithOperations{
    							Operations: []admissionregistration.OperationType{"CREATE"},
    							Rule: admissionregistration.Rule{
    								APIGroups:   []string{"a"},
    								APIVersions: []string{"a"},
    								Resources:   []string{"a"},
    							},
    						},
    					},
    				},
    			},
    			FailurePolicy: &ignore,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:29:56 UTC 2022
    - 3K bytes
    - Viewed (0)
  2. samples/ambient-argo/tag-chart/templates/mutatingwebhooks.yaml

        {{- end }}
      sideEffects: None
      rules:
        - operations: [ "CREATE" ]
          apiGroups: [""]
          apiVersions: ["v1"]
          resources: ["pods"]
      failurePolicy: Fail
      admissionReviewVersions: ["v1beta1", "v1"]
    {{- end }}
    
    {{- range $tagName, $tag := $.Values.base.tags }}
    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
    {{- if eq $.Release.Namespace "istio-system"}}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. manifests/charts/default/templates/mutatingwebhook.yaml

          path: "/inject"
        {{- end }}
      sideEffects: None
      rules:
        - operations: [ "CREATE" ]
          apiGroups: [""]
          apiVersions: ["v1"]
          resources: ["pods"]
      failurePolicy: Fail
      admissionReviewVersions: ["v1beta1", "v1"]
    {{- end }}
    
    apiVersion: admissionregistration.k8s.io/v1
    kind: MutatingWebhookConfiguration
    metadata:
      name: istio-revision-tag-default
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 18:16:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  4. pkg/controlplane/instance_test.go

    	// /api exists in release-1.1
    	resp, err := http.Get(server.URL + "/api")
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    	apiVersions := metav1.APIVersions{}
    	assert.NoError(decodeResponse(resp, &apiVersions))
    	assert.Equal(apiVersions.APIVersion, "")
    
    	// /api/v1 exists in release-1.1
    	resp, err = http.Get(server.URL + "/api/v1")
    	if err != nil {
    		t.Errorf("unexpected error: %v", err)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 03 11:50:04 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  5. pkg/apis/admissionregistration/validation/validation.go

    	if len(rule.APIVersions) == 0 {
    		allErrors = append(allErrors, field.Required(fldPath.Child("apiVersions"), ""))
    	}
    	if len(rule.APIVersions) > 1 && hasWildcard(rule.APIVersions) {
    		allErrors = append(allErrors, field.Invalid(fldPath.Child("apiVersions"), rule.APIVersions, "if '*' is present, must not specify other API versions"))
    	}
    	for i, version := range rule.APIVersions {
    		if version == "" {
    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/apimachinery/pkg/apis/meta/v1/zz_generated.deepcopy.go

    func (in *APIVersions) DeepCopy() *APIVersions {
    	if in == nil {
    		return nil
    	}
    	out := new(APIVersions)
    	in.DeepCopyInto(out)
    	return out
    }
    
    // DeepCopyObject is an autogenerated deepcopy function, copying the receiver, creating a new runtime.Object.
    func (in *APIVersions) DeepCopyObject() runtime.Object {
    	if c := in.DeepCopy(); c != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:25 UTC 2023
    - 32.2K bytes
    - Viewed (0)
  7. pkg/webhooks/validation/controller/controller_test.go

    			}},
    			Rules: []admission.RuleWithOperations{{
    				Operations: []admission.OperationType{admission.Create, admission.Update},
    				Rule: admission.Rule{
    					APIGroups:   []string{"group0"},
    					APIVersions: []string{"*"},
    					Resources:   []string{"*"},
    				},
    			}},
    			FailurePolicy: ptr.Of(admission.Ignore),
    		}, {
    			Name: "hook1",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 03:21:04 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  8. pkg/apis/admission/types.go

    	//
    	// 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
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jul 01 16:14:06 UTC 2020
    - 7.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/register.go

    	scheme.AddKnownTypes(groupVersion, optionsTypes...)
    	// Register Unversioned types under their own special group
    	scheme.AddUnversionedTypes(Unversioned,
    		&Status{},
    		&APIVersions{},
    		&APIGroupList{},
    		&APIGroup{},
    		&APIResourceList{},
    	)
    
    	// register manually. This usually goes through the SchemeBuilder, which we cannot use here.
    	utilruntime.Must(RegisterConversions(scheme))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 22 18:47:31 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  10. 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
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 8.1K bytes
    - Viewed (0)
Back to top