Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 490 for mywebhook (0.19 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. internal/event/target/webhook.go

    			return nil, fmt.Errorf("unable to initialize the queue store of Webhook `%s`: %w", id, err)
    		}
    	}
    
    	target := &WebhookTarget{
    		id:         event.TargetID{ID: id, Name: "webhook"},
    		args:       args,
    		loggerOnce: loggerOnce,
    		transport:  transport,
    		store:      queueStore,
    		cancel:     cancel,
    		cancelCh:   ctx.Done(),
    	}
    
    	// Calculate the webhook addr with the port number format
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. pilot/pkg/bootstrap/webhook.go

    		MinVersion:     tls.VersionTLS12,
    		CipherSuites:   args.ServerOptions.TLSOptions.CipherSuits,
    	}
    	// Compliance for control plane validation and injection webhook server.
    	sec_model.EnforceGoCompliance(tlsConfig)
    
    	istiolog.Info("initializing secure webhook server for istiod webhooks")
    	// create the https server for hosting the k8s injectionWebhook handlers.
    	s.httpsMux = http.NewServeMux()
    	s.httpsServer = &http.Server{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 17:37:53 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/plugin/pkg/audit/webhook/webhook.go

    	"k8s.io/apiserver/pkg/audit"
    	"k8s.io/apiserver/pkg/util/webhook"
    	"k8s.io/client-go/rest"
    	"k8s.io/component-base/tracing"
    )
    
    const (
    	// PluginName is the name of this plugin, to be used in help and logs.
    	PluginName = "webhook"
    
    	// DefaultInitialBackoffDelay is the default amount of time to wait before
    	// retrying sending audit events through a webhook.
    	DefaultInitialBackoffDelay = 10 * time.Second
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 07 21:13:31 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook.go

    	"k8s.io/apiserver/pkg/admission/plugin/cel"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/config"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/namespace"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/object"
    	"k8s.io/apiserver/pkg/admission/plugin/webhook/predicates/rules"
    	"k8s.io/apiserver/pkg/authorization/authorizer"
    	"k8s.io/apiserver/pkg/cel/environment"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  6. 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)
  7. staging/src/k8s.io/apiserver/pkg/util/webhook/webhook.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package webhook implements a generic HTTP webhook plugin.
    package webhook
    
    import (
    	"context"
    	"fmt"
    	"time"
    
    	apierrors "k8s.io/apimachinery/pkg/api/errors"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/runtime/schema"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 20 19:02:55 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. 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)
  9. pkg/config/analysis/analyzers/webhook/webhook.go

    	revs := sets.New[string]()
    	if r, f := wh.Labels[label.IoIstioRev.Name]; f {
    		revs.Insert(r)
    	}
    	for _, webhook := range wh.Webhooks {
    		if webhook.NamespaceSelector != nil {
    			if r, f := webhook.NamespaceSelector.MatchLabels[label.IoIstioRev.Name]; f {
    				revs.Insert(r)
    			}
    
    			for _, ls := range webhook.NamespaceSelector.MatchExpressions {
    				if ls.Key == label.IoIstioRev.Name {
    					revs.InsertAll(ls.Values...)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. 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)
Back to top