Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 258 for Decisions (0.16 sec)

  1. pkg/test/framework/resource/settings.go

    	// Compatibility determines whether we should transparently deploy echo workloads attached to each revision
    	// specified in `Revisions` when creating echo instances. Used primarily for compatibility testing between revisions
    	// on different control plane versions.
    	Compatibility bool
    
    	// Revisions maps the Istio revisions that are available to each cluster to their corresponding versions.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/cel/environment/environment_test.go

    		return false, err
    	}
    	return result.Value() == true, nil
    }
    
    type fakeAuthorizer struct {
    	decision authorizer.Decision
    	reason   string
    	err      error
    }
    
    func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	return f.decision, f.reason, f.err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 10K bytes
    - Viewed (0)
  3. tests/integration/pilot/gw_topology_test.go

    			}
    			gatewayNs := namespace.NewOrFail(t, t, namespace.Config{Prefix: "custom-gateway", Inject: inject})
    			injectLabel := `sidecar.istio.io/inject: "true"`
    			if len(t.Settings().Revisions.Default()) > 0 {
    				injectLabel = fmt.Sprintf(`istio.io/rev: "%v"`, t.Settings().Revisions.Default())
    			}
    
    			templateParams := map[string]string{
    				"imagePullSecret": t.Settings().Image.PullSecret,
    				"injectLabel":     injectLabel,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. pilot/pkg/leaderelection/leaderelection_test.go

    	"k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/kubernetes/fake"
    	k8stesting "k8s.io/client-go/testing"
    
    	"istio.io/istio/pkg/revisions"
    	"istio.io/istio/pkg/test/util/retry"
    )
    
    const testLock = "test-lock"
    
    func createElection(t *testing.T,
    	name string, revision string,
    	watcher revisions.DefaultWatcher,
    	expectLeader bool,
    	client kubernetes.Interface, fns ...func(stop <-chan struct{}),
    ) (*LeaderElection, chan struct{}) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 28 04:22:19 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  5. pkg/config/analysis/analyzers/webhook/webhook.go

    		for _, h := range wh.Webhooks {
    			resources[fmt.Sprintf("%v/%v", resource.Metadata.FullName.String(), h.Name)] = resource
    		}
    		revisions.InsertAll(revs...)
    		return true
    	})
    
    	// Set up all relevant namespace and object selector permutations
    	namespaceLabels := getNamespaceLabels()
    	for rev := range revisions {
    		for _, base := range getNamespaceLabels() {
    			base[label.IoIstioRev.Name] = rev
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun May 05 03:44:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.26.md

    - Fixes a regression in the pod binding subresource to honor the `metadata.uid` precondition.
      This allows kube-scheduler to ensure it is assigns node names to the same instances of pods it made scheduling decisions for. ([#116763](https://github.com/kubernetes/kubernetes/pull/116763), [@alculquicondor](https://github.com/alculquicondor)) [SIG API Machinery and Testing]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  7. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    }
    
    type fakeAuthorizer struct {
    	t           *testing.T
    	verb        string
    	allowedName string
    	decision    authorizer.Decision
    	err         error
    }
    
    func (f fakeAuthorizer) Authorize(ctx context.Context, a authorizer.Attributes) (authorizer.Decision, string, error) {
    	if f.err != nil {
    		return f.decision, "forced error", f.err
    	}
    	if a.GetVerb() != f.verb {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. plugin/pkg/auth/authorizer/node/node_authorizer.go

    	}
    	return nil, nil, false, nil
    }
    
    func (r *NodeAuthorizer) Authorize(ctx context.Context, attrs authorizer.Attributes) (authorizer.Decision, string, error) {
    	nodeName, isNode := r.identifier.NodeIdentity(attrs.GetUser())
    	if !isNode {
    		// reject requests from non-nodes
    		return authorizer.DecisionNoOpinion, "", nil
    	}
    	if len(nodeName) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 07 21:22:55 UTC 2024
    - 16K bytes
    - Viewed (0)
  9. pilot/pkg/leaderelection/leaderelection.go

    }
    
    func newLeaderElection(namespace, name, electionID, revision string, perRevision bool, remote bool, client kube.Client) *LeaderElection {
    	var watcher revisions.DefaultWatcher
    	if features.EnableLeaderElection {
    		watcher = revisions.NewDefaultWatcher(client, revision)
    	}
    	if name == "" {
    		hn, _ := os.Hostname()
    		name = fmt.Sprintf("unknown-%s", hn)
    	}
    	if perRevision && revision != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 12 16:44:32 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  10. pkg/test/framework/components/istio/configmap.go

    	ctx       resource.Context
    	namespace string
    	mu        sync.Mutex
    	revisions resource.RevVerMap
    }
    
    type meshConfig struct {
    	configMap
    	meshConfig *meshconfig.MeshConfig
    }
    
    type injectConfig struct {
    	configMap
    	injectConfig *inject.Config
    	values       *inject.ValuesConfig
    }
    
    func newConfigMap(ctx resource.Context, namespace string, revisions resource.RevVerMap) *configMap {
    	return &configMap{
    		ctx:       ctx,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 12.8K bytes
    - Viewed (0)
Back to top