Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 79 for beraber (0.12 sec)

  1. pilot/pkg/networking/core/route/route_test.go

    		xdstest.ValidateRoutes(t, routes)
    		g.Expect(err).NotTo(HaveOccurred())
    		g.Expect(len(routes)).To(Equal(1))
    		g.Expect(routes[0].GetMatch().GetHeaders()[0].GetStringMatch().GetSafeRegex().GetRegex()).To(Equal("Bearer .+?\\..+?\\..+?"))
    	})
    
    	t.Run("for virtual service with regex matching on without_header", func(t *testing.T) {
    		g := NewWithT(t)
    		cg := core.NewConfigGenTest(t, core.TestOptions{})
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 14:12:39 UTC 2024
    - 88.1K bytes
    - Viewed (0)
  2. cluster/gce/gci/configure.sh

              else
                echo "Cannot get a service account token. Exiting."
                exit 1
              fi
    
              curl_headers=${access_token:+Authorization: Bearer "${access_token}"}
            fi
          fi
          if ! curl ${curl_headers:+-H "${curl_headers}"} -f --ipv4 -Lo "${file}" --connect-timeout 20 --max-time 300 --retry 6 --retry-delay 10 --retry-connrefused "${url}"; then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 04:14:02 UTC 2024
    - 36.5K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/plugin/pkg/authenticator/token/oidc/oidc_test.go

    				t.Errorf("no claims specified in response")
    			}
    			claim := r.URL.Path[1:] // "/groups" -> "groups"
    			expectedAuth := fmt.Sprintf("Bearer %v_token", claim)
    			auth := r.Header.Get("Authorization")
    			if auth != expectedAuth {
    				t.Errorf("bearer token expected: %q, was %q", expectedAuth, auth)
    			}
    			jws, err := signer.Sign([]byte(claimToResponseMap[claim]))
    			if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 97.7K bytes
    - Viewed (0)
  4. pkg/kube/client.go

    	// DeleteYAMLFilesDryRun performs a dry run for deleting the resources in the given YAML files.
    	DeleteYAMLFilesDryRun(namespace string, yamlFiles ...string) error
    
    	// CreatePerRPCCredentials creates a gRPC bearer token provider that can create (and renew!) Istio tokens
    	CreatePerRPCCredentials(ctx context.Context, tokenNamespace, tokenServiceAccount string, audiences []string,
    		expirationSeconds int64) (credentials.PerRPCCredentials, error)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 25 14:44:17 UTC 2024
    - 39K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/config.go

    	}
    	return host, port, nil
    }
    
    // AuthorizeClientBearerToken wraps the authenticator and authorizer in loopback authentication logic
    // if the loopback client config is specified AND it has a bearer token. Note that if either authn or
    // authz is nil, this function won't add a token authenticator or authorizer.
    func AuthorizeClientBearerToken(loopback *restclient.Config, authn *AuthenticationInfo, authz *AuthorizationInfo) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 47.7K bytes
    - Viewed (0)
  6. cmd/kubelet/app/options/options.go

    	fs.BoolVar(&c.Authentication.Webhook.Enabled, "authentication-token-webhook", c.Authentication.Webhook.Enabled, ""+
    		"Use the TokenReview API to determine authentication for bearer tokens.")
    	fs.DurationVar(&c.Authentication.Webhook.CacheTTL.Duration, "authentication-token-webhook-cache-ttl", c.Authentication.Webhook.CacheTTL.Duration, ""+
    		"The duration to cache responses from the webhook token authenticator.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 07:00:05 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  7. internal/grid/connection.go

    		dialer.Timeout = defaultDialTimeout
    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    		c.header.Set("Authorization", "Bearer "+c.auth(""))
    		c.header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    		if len(c.header) > 0 {
    			dialer.Header = ws.HandshakeHeaderHTTP(c.header)
    		}
    		dialer.TLSConfig = c.tlsConfig
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  8. cluster/gce/util.sh

          --project "${NETWORK_PROJECT}" \
          --network "${NETWORK}" \
          --source-tags "${MASTER_TAG}" \
          --allow "tcp:2380,tcp:2381" \
          --target-tags "${MASTER_TAG}" &
      fi
    
      # Generate a bearer token for this cluster. We push this separately
      # from the other cluster variables so that the client (this
      # computer) can forget it later. This should disappear with
      # http://issue.k8s.io/3168
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:17 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  9. tests/integration/ambient/baseline_test.go

    				opts := echo.CallOptions{
    					Address: "kubernetes.default.svc",
    					Port:    echo.Port{ServicePort: 443},
    					Scheme:  scheme.HTTPS,
    					HTTP: echo.HTTP{
    						Headers: headers.New().With("Authorization", "Bearer "+token.Status.Token).Build(),
    						Path:    "/",
    					},
    					// Test that we see our own identity -- not the ztunnel (istio-system/ztunnel).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/cluster_builder_test.go

    	}
    	if ec.CircuitBreakers != nil {
    		if ec.CircuitBreakers.Thresholds[0].MaxRetries.Value != gc.CircuitBreakers.Thresholds[0].MaxRetries.Value {
    			t.Errorf("Unexpected circuit breaker thresholds want %v, got %v", ec.CircuitBreakers.Thresholds[0].MaxRetries, gc.CircuitBreakers.Thresholds[0].MaxRetries)
    		}
    	}
    	if ec.AltStatName != "" {
    		if ec.AltStatName != gc.AltStatName {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 110.4K bytes
    - Viewed (0)
Back to top