Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 110 for admission (0.19 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/controller.go

    	if negativeUsage := quota.IsNegative(deltaUsage); len(negativeUsage) > 0 {
    		return nil, admission.NewForbidden(a, fmt.Errorf("quota usage is negative for resource(s): %s", prettyPrintResourceNames(negativeUsage)))
    	}
    
    	if admission.Update == a.GetOperation() {
    		prevItem := a.GetOldObject()
    		if prevItem == nil {
    			return nil, admission.NewForbidden(a, fmt.Errorf("unable to get previous usage since prior version of object was not found"))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/validator_test.go

    	"github.com/stretchr/testify/require"
    
    	admissionv1 "k8s.io/api/admission/v1"
    	v1 "k8s.io/api/admissionregistration/v1"
    	corev1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/apiserver/pkg/admission/plugin/cel"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 24.7K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      // Allowed values are "Never" and "IfNeeded".
      //
      // Never: the webhook will not be called more than once in a single admission evaluation.
      //
      // IfNeeded: the webhook will be called at least one additional time as part of the admission evaluation
      // if the object being admitted is modified by other admission plugins after the initial webhook call.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  4. pkg/testcerts/testcerts.go

    limitations under the License.
    */
    
    // This file was generated using openssl by the gencerts.sh script
    // and holds raw certificates for the webhook tests.
    
    package testcerts
    
    // CACert is a test cert for dynamic admission controller.
    var CACert = []byte(`-----BEGIN CERTIFICATE-----
    MIIC9DCCAdygAwIBAgIJAIFe3lWPaalKMA0GCSqGSIb3DQEBCwUAMA4xDDAKBgNV
    BAMMA19jYTAgFw0xNzEyMjIxODA0MjRaGA8yMjkxMTAwNzE4MDQyNFowDjEMMAoG
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Dec 08 16:24:03 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/api/admissionregistration/v1/types_swagger_doc_generated.go

    "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent,...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 48.7K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/filter.go

    	"math"
    	"reflect"
    	"time"
    
    	"github.com/google/cel-go/interpreter"
    
    	admissionv1 "k8s.io/api/admission/v1"
    	authenticationv1 "k8s.io/api/authentication/v1"
    	v1 "k8s.io/api/core/v1"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/apis/meta/v1/unstructured"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/apiserver/pkg/cel"
    	"k8s.io/apiserver/pkg/cel/environment"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jul 24 14:46:11 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/api/admissionregistration/v1beta1/types_swagger_doc_generated.go

    "reinvocationPolicy indicates whether this webhook should be called multiple times as part of a single admission evaluation. Allowed values are \"Never\" and \"IfNeeded\".\n\nNever: the webhook will not be called more than once in a single admission evaluation.\n\nIfNeeded: the webhook will be called at least one additional time as part of the admission evaluation if the object being admitted is modified by other admission plugins after the initial webhook call. Webhooks that specify this option *must* be idempotent,...
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 20:14:19 UTC 2024
    - 46.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/handlers/patch.go

    	tracing.SpanFromContext(ctx).AddEvent("About to check admission control")
    	var operation admission.Operation
    	var options runtime.Object
    	if hasUID, err := hasUID(currentObject); err != nil {
    		return nil, err
    	} else if !hasUID {
    		operation = admission.Create
    		currentObject = nil
    		options = patchToCreateOptions(p.options)
    	} else {
    		operation = admission.Update
    		options = patchToUpdateOptions(p.options)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. pkg/controlplane/apiserver/config.go

    	versionedInformers clientgoinformers.SharedInformerFactory,
    	storageFactory *serverstorage.DefaultStorageFactory,
    	serviceResolver aggregatorapiserver.ServiceResolver,
    	additionalInitializers []admission.PluginInitializer,
    ) (
    	*Config,
    	[]admission.PluginInitializer,
    	error,
    ) {
    	proxyTransport := CreateProxyTransport()
    
    	opts.Metrics.Apply()
    	serviceaccount.RegisterMetrics()
    
    	config := &Config{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/api/admissionregistration/v1alpha1/types.go

    )
    
    // FailurePolicyType specifies a failure policy that defines how unrecognized errors from the admission endpoint are handled.
    // +enum
    type FailurePolicyType string
    
    const (
    	// Ignore means that an error calling the webhook is ignored.
    	Ignore FailurePolicyType = "Ignore"
    	// Fail means that an error calling the webhook causes the admission to fail.
    	Fail FailurePolicyType = "Fail"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Oct 05 20:06:13 UTC 2023
    - 33.8K bytes
    - Viewed (0)
Back to top