Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 138 for mywebhook (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/request/admissionreview_test.go

    			invocation: &generic.WebhookInvocation{
    				Webhook: webhook.NewMutatingWebhookAccessor("mywebhook", "mycfg", &admissionregistrationv1.MutatingWebhook{}),
    			},
    			expectErr: "webhook does not accept known AdmissionReview versions",
    		},
    		{
    			name: "no known supported versions",
    			invocation: &generic.WebhookInvocation{
    				Webhook: webhook.NewMutatingWebhookAccessor("mywebhook", "mycfg", &admissionregistrationv1.MutatingWebhook{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 07 16:56:12 UTC 2023
    - 20.1K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/webhook/webhook.go

    	maxControlledAttrCacheSize = 10000
    )
    
    // DefaultRetryBackoff returns the default backoff parameters for webhook retry.
    func DefaultRetryBackoff() *wait.Backoff {
    	backoff := webhook.DefaultRetryBackoffWithInitialDelay(500 * time.Millisecond)
    	return &backoff
    }
    
    // Ensure Webhook implements the authorizer.Authorizer interface.
    var _ authorizer.Authorizer = (*WebhookAuthorizer)(nil)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 19:01:15 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/webhook/webhook.go

    	"k8s.io/apiserver/pkg/util/webhook"
    	"k8s.io/client-go/kubernetes/scheme"
    	authenticationv1client "k8s.io/client-go/kubernetes/typed/authentication/v1"
    	"k8s.io/client-go/rest"
    	"k8s.io/klog/v2"
    )
    
    // DefaultRetryBackoff returns the default backoff parameters for webhook retry.
    func DefaultRetryBackoff() *wait.Backoff {
    	backoff := webhook.DefaultRetryBackoffWithInitialDelay(500 * time.Millisecond)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  4. pkg/kube/inject/webhook.go

    	Containers = "containers"
    )
    
    type WebhookConfig struct {
    	Templates  Templates
    	Values     ValuesConfig
    	MeshConfig *meshconfig.MeshConfig
    }
    
    // Webhook implements a mutating webhook for automatic proxy injection.
    type Webhook struct {
    	mu           sync.RWMutex
    	Config       *Config
    	meshConfig   *meshconfig.MeshConfig
    	valuesConfig ValuesConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 17:59:39 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/test/integration/conversion/webhook.go

    	"k8s.io/apimachinery/pkg/runtime"
    )
    
    // StartConversionWebhookServer starts an http server with the provided handler and returns the WebhookClientConfig
    // needed to configure a CRD to use this conversion webhook as its converter.
    func StartConversionWebhookServer(handler http.Handler) (func(), *apiextensionsv1.WebhookClientConfig, error) {
    	roots := x509.NewCertPool()
    	if !roots.AppendCertsFromPEM(localhostCert) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 14 01:38:09 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate_test.go

    			whCA:           "ca",
    		},
    		{
    			name:           "webhook-custom-istio-namespace",
    			istioNamespace: "istio-system-blue",
    			webhook:        revisionCanonicalWebhook,
    			whURL:          "",
    			whSVC:          "istiod-revision",
    			whCA:           "ca",
    		},
    		{
    			name:           "webhook-pointing-to-url",
    			istioNamespace: "istio-system",
    			webhook:        revisionCanonicalWebhookRemote,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:49 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/mutating/dispatcher.go

    		klog.Warningf("failed to set patch annotation for mutating webhook key %s; confugiration name: %s, webhook name: %s", w.patchAnnotationKey, w.configuration, w.webhook)
    	}
    }
    
    // MutationAuditAnnotation logs if a webhook invocation mutated the request object
    type MutationAuditAnnotation struct {
    	Configuration string `json:"configuration"`
    	Webhook       string `json:"webhook"`
    	Mutated       bool   `json:"mutated"`
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/conversion/webhook_converter.go

    	"k8s.io/apiserver/pkg/util/webhook"
    	"k8s.io/client-go/rest"
    	"k8s.io/component-base/tracing"
    )
    
    type webhookConverterFactory struct {
    	clientManager webhook.ClientManager
    }
    
    func newWebhookConverterFactory(serviceResolver webhook.ServiceResolver, authResolverWrapper webhook.AuthenticationInfoResolverWrapper) (*webhookConverterFactory, error) {
    	clientManager, err := webhook.NewClientManager(
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 07 19:37:55 UTC 2023
    - 20.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go

    	"k8s.io/apiserver/pkg/admission"
    	"k8s.io/apiserver/pkg/admission/plugin/cel"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/matchconditions"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 28 19:30:04 UTC 2023
    - 32K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/options/authorization.go

    	authorizationWebhookConfigFileFlag      = "authorization-webhook-config-file"
    	authorizationWebhookVersionFlag         = "authorization-webhook-version"
    	authorizationWebhookAuthorizedTTLFlag   = "authorization-webhook-cache-authorized-ttl"
    	authorizationWebhookUnauthorizedTTLFlag = "authorization-webhook-cache-unauthorized-ttl"
    	authorizationPolicyFileFlag             = "authorization-policy-file"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 14 23:09:15 UTC 2024
    - 12K bytes
    - Viewed (0)
Back to top