Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for IsWaypoint (0.16 sec)

  1. pilot/pkg/model/policyattachment.go

    	Namespace      string
    	WorkloadLabels labels.Instance
    	IsWaypoint     bool
    	Service        string
    }
    
    func PolicyMatcherFor(workloadNamespace string, labels labels.Instance, isWaypoint bool) WorkloadPolicyMatcher {
    	return WorkloadPolicyMatcher{
    		Namespace:      workloadNamespace,
    		WorkloadLabels: labels,
    		IsWaypoint:     isWaypoint,
    	}
    }
    
    func PolicyMatcherForProxy(proxy *Proxy) WorkloadPolicyMatcher {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  2. istioctl/pkg/waypoint/waypoint_test.go

    		},
    		Status: gateway.GatewayStatus{
    			Conditions: conditions,
    		},
    	}
    }
    
    func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway {
    	gw := makeGateway(name, namespace, programmed, isWaypoint)
    	if gw.Labels == nil {
    		gw.Labels = make(map[string]string)
    	}
    	gw.Labels[label.IoIstioRev.Name] = rev
    	return gw
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/policyattachment_test.go

    		Namespace: "default",
    		WorkloadLabels: labels.Instance{
    			"app": "my-app",
    		},
    		IsWaypoint: false,
    	}
    	sampleGateway := WorkloadPolicyMatcher{
    		Namespace: "default",
    		WorkloadLabels: labels.Instance{
    			constants.GatewayNameLabel: "sample-gateway",
    		},
    		IsWaypoint: false,
    	}
    	sampleWaypoint := WorkloadPolicyMatcher{
    		Namespace: "default",
    		WorkloadLabels: labels.Instance{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. pilot/pkg/security/authn/factory.go

    func NewMtlsPolicy(push *model.PushContext, namespace string, labels labels.Instance, isWaypoint bool) MtlsPolicy {
    	return newPolicyApplier(
    		push.AuthnPolicies.GetRootNamespace(),
    		nil,
    		push.AuthnPolicies.GetPeerAuthenticationsForWorkload(model.PolicyMatcherFor(namespace, labels, isWaypoint)),
    		push,
    	)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. pilot/pkg/xds/endpoints/mtls_checker.go

    // on the DR, original endpoint TLSMode (based on injection of sidecar), and PeerAuthentication settings.
    func (c *mtlsChecker) checkMtlsEnabled(ep *model.IstioEndpoint, isWaypoint bool) bool {
    	if drMode := c.destinationRule; drMode != nil {
    		return *drMode == networkingapi.ClientTLSSettings_ISTIO_MUTUAL
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  6. pilot/pkg/model/authentication_test.go

    		workloadNamespace      string
    		workloadLabels         labels.Instance
    		wantRequestAuthn       []*config.Config
    		wantPeerAuthn          []*config.Config
    		wantNamespaceMutualTLS MutualTLSMode
    		isWaypoint             bool
    	}{
    		{
    			name:              "Empty workload labels in foo",
    			workloadNamespace: "foo",
    			workloadLabels:    nil,
    			wantRequestAuthn: []*config.Config{
    				{
    					Meta: config.Meta{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 45.1K bytes
    - Viewed (0)
  7. pilot/pkg/networking/core/listener_builder.go

    	reqIDExtensionCtx := configureTracing(lb.push, lb.node, connectionManager, httpOpts.class, httpOpts.policySvc)
    
    	filters := []*hcm.HttpFilter{}
    	if !httpOpts.isWaypoint {
    		wasm := lb.push.WasmPluginsByListenerInfo(lb.node, model.WasmPluginListenerInfo{
    			Port:  httpOpts.port,
    			Class: httpOpts.class,
    		}, model.WasmPluginTypeHTTP)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. pilot/pkg/model/extensions_test.go

    			want: false,
    		},
    	}
    
    	for _, tc := range cases {
    		t.Run(tc.desc, func(t *testing.T) {
    			opts := WorkloadPolicyMatcher{
    				Namespace:      "ns",
    				WorkloadLabels: tc.proxyLabels,
    				IsWaypoint:     false,
    			}
    			got := tc.wasmPlugin.MatchListener(opts, tc.listenerInfo)
    			if tc.want != got {
    				t.Errorf("MatchListener got %v want %v", got, tc.want)
    			}
    		})
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  9. pilot/pkg/model/authorization_test.go

    				{
    					Name:      "authz-2",
    					Namespace: "bar",
    					Spec:      policy,
    				},
    			},
    		},
    		{
    			name: "waypoint service attached",
    			selectionOpts: WorkloadPolicyMatcher{
    				IsWaypoint: true,
    				Service:    "foo-svc",
    				Namespace:  "foo",
    				WorkloadLabels: labels.Instance{
    					constants.GatewayNameLabel: "foo-waypoint",
    					// labels match in selector policy but ignore them for waypoint
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  10. pkg/test/framework/components/echo/config.go

    }
    
    func (c Config) IsUncaptured() bool {
    	// TODO this can be more robust to not require labeling initial echo config (check namespace + isWaypoint + not sidecar)
    	return len(c.Subsets) > 0 && c.Subsets[0].Labels != nil && c.Subsets[0].Labels[constants.DataplaneModeLabel] == constants.DataplaneModeNone
    }
    
    func (c Config) HasProxyCapabilities() bool {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top