Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 154 for webhook5 (0.25 sec)

  1. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/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 the authenticator.Token interface using HTTP webhooks.
    package webhook
    
    import (
    	"context"
    	"errors"
    	"fmt"
    	"strconv"
    	"time"
    
    	authenticationv1 "k8s.io/api/authentication/v1"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 18 00:47:42 UTC 2022
    - 11.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/plugin/pkg/authorizer/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 the authorizer.Authorizer interface using HTTP webhooks.
    package webhook
    
    import (
    	"context"
    	"encoding/json"
    	"errors"
    	"fmt"
    	"net/http"
    	"strconv"
    	"time"
    
    	authorizationv1 "k8s.io/api/authorization/v1"
    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. 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)
  4. common-protos/k8s.io/api/admissionregistration/v1beta1/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
    - 22.6K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/admissionregistration/v1/generated.proto

      //
      // 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.
      // Webhooks that specify this option *must* be idempotent, able to process objects they previously admitted.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  6. istioctl/pkg/tag/generate_test.go

    		if len(wh.Webhooks) != tc.numWebhooks {
    			t.Errorf("expected %d webhook(s) in MutatingWebhookConfiguration, found %d",
    				tc.numWebhooks, len(wh.Webhooks))
    		}
    		tag, exists := wh.ObjectMeta.Labels[IstioTagLabel]
    		if !exists {
    			t.Errorf("expected tag webhook to have %s label, did not find", IstioTagLabel)
    		}
    		if tag != tc.tagName {
    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/testing/testcase.go

    func mutationAnnotationValue(configuration, webhook string, mutated bool) string {
    	return fmt.Sprintf(`{"configuration":"%s","webhook":"%s","mutated":%t}`, configuration, webhook, mutated)
    }
    
    func patchAnnotationValue(configuration, webhook string, patch string) string {
    	return strings.Replace(fmt.Sprintf(`{"configuration": "%s", "webhook": "%s", "patch": %s, "patchType": "JSONPatch"}`, configuration, webhook, patch), " ", "", -1)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 03 06:51:04 UTC 2023
    - 47.6K bytes
    - Viewed (0)
  8. 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)
  9. istioctl/pkg/tag/generate.go

    	if err != nil {
    		return "", fmt.Errorf("could not decode generated webhook: %w", err)
    	}
    	decodedWh := whObject.(*admitv1.MutatingWebhookConfiguration)
    	for i := range decodedWh.Webhooks {
    		decodedWh.Webhooks[i].ClientConfig.CABundle = []byte(config.CABundle)
    		if decodedWh.Webhooks[i].ClientConfig.Service != nil {
    			decodedWh.Webhooks[i].ClientConfig.Service.Path = &config.Path
    		}
    	}
    	if opts.WebhookName != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 17:43:49 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  10. pkg/webhooks/validation/controller/controller.go

    		scope.Debugf("failurePolicy is Ignore, but webhook is not ready; not setting to Fail")
    		updateFailurePolicy = false
    	}
    	updated := current.DeepCopy()
    	for i := range updated.Webhooks {
    		updated.Webhooks[i].ClientConfig.CABundle = caBundle
    		if updateFailurePolicy {
    			updated.Webhooks[i].FailurePolicy = ptr.Of(kubeApiAdmission.Fail)
    		}
    	}
    
    	latest, err := c.webhooks.Update(updated)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 28 16:52:19 UTC 2024
    - 11.3K bytes
    - Viewed (0)
Back to top