Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 18 for gatewayName (0.25 sec)

  1. pkg/config/gateway/kube/gatewayapi.go

    )
    
    // IsInternalGatewayReference returns true if gatewayName is referencing the internal
    // Istio Gateway corresponding to a Kubernetes Gateway API gateway.
    func IsInternalGatewayReference(gatewayName string) bool {
    	parts := strings.SplitN(gatewayName, "/", 2)
    	if len(parts) == 2 {
    		gatewayName = parts[1]
    	}
    	return strings.Contains(gatewayName, fmt.Sprintf("-%s-", constants.KubernetesGatewayName))
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Dec 05 01:28:52 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. pilot/pkg/networking/core/gateway.go

    	}
    	return portMatch
    }
    
    func isGatewayMatch(gateway string, gatewayNames []string) bool {
    	// if there's no gateway predicate, gatewayMatch is true; otherwise we match against the gateways for this workload
    	if len(gatewayNames) == 0 {
    		return true
    	}
    	if len(gatewayNames) > 0 {
    		for _, gatewayName := range gatewayNames {
    			if gatewayName == gateway {
    				return true
    			}
    		}
    	}
    	return false
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 06 04:44:06 UTC 2024
    - 46.4K bytes
    - Viewed (0)
  3. pilot/pkg/model/gateway.go

    						s.Name, gatewayName)
    				}
    			}
    			if s.Port == nil {
    				// Should be rejected in validation, this is an extra check
    				log.Debugf("invalid server without port: %q", gatewayName)
    				RecordRejectedConfig(gatewayName)
    				continue
    			}
    			sanitizeServerHostNamespace(s, gatewayConfig.Namespace)
    			gatewayNameForServer[s] = gatewayName
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 04:34:37 UTC 2024
    - 26K bytes
    - Viewed (0)
  4. pilot/pkg/model/policyattachment.go

    	}
    	return targetRefs
    }
    
    func (p WorkloadPolicyMatcher) ShouldAttachPolicy(kind config.GroupVersionKind, policyName types.NamespacedName, policy TargetablePolicy) bool {
    	gatewayName, isGatewayAPI := workloadGatewayName(p.WorkloadLabels)
    	targetRefs := GetTargetRefs(policy)
    
    	// non-gateway: use selector
    	if !isGatewayAPI {
    		// if targetRef is specified, ignore the policy altogether
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. pilot/pkg/model/push_context_test.go

    			wantHosts: []string{"rule2gw.com", "rule3gw.com"},
    			gateway:   gatewayName,
    		},
    		{
    			proxyNs:   "test2",
    			wantHosts: []string{"rule2gw.com", "rule3gw.com"},
    			gateway:   gatewayName,
    		},
    		{
    			proxyNs:   "ns1",
    			wantHosts: []string{"rule2gw.com", "rule3gw.com"},
    			gateway:   gatewayName,
    		},
    		{
    			proxyNs:   "random",
    			wantHosts: []string{"rule3gw.com"},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sun Apr 21 17:42:54 UTC 2024
    - 95.3K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    						// Matching gateways from vs.spec.gateways
    						for _, gatewayName := range vs.Spec.Gateways {
    							if gatewayName == "" || gatewayName == analyzerutil.MeshGateway {
    								continue
    							}
    							// parse gateway
    							gns := vsNamespace
    							parts := strings.SplitN(gatewayName, "/", 2)
    							if len(parts) == 2 {
    								gatewayName = parts[1]
    								gns = parts[0]
    							}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 13 05:23:38 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  7. pkg/config/validation/validation.go

    }
    
    func validateGatewayNames(gatewayNames []string, gatewaySemantics bool) (errs Validation) {
    	for _, gatewayName := range gatewayNames {
    		parts := strings.SplitN(gatewayName, "/", 2)
    		if len(parts) != 2 {
    			if strings.Contains(gatewayName, ".") {
    				// Legacy FQDN style
    				parts := strings.Split(gatewayName, ".")
    				recommended := fmt.Sprintf("%s/%s", parts[1], parts[0])
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 04:03:33 UTC 2024
    - 107.2K bytes
    - Viewed (0)
  8. pkg/config/analysis/msg/messages.gen.go

    	)
    }
    
    // NewInvalidGatewayCredential returns a new diag.Message based on InvalidGatewayCredential.
    func NewInvalidGatewayCredential(r *resource.Instance, gatewayName string, gatewayNamespace string) diag.Message {
    	return diag.NewMessage(
    		InvalidGatewayCredential,
    		r,
    		gatewayName,
    		gatewayNamespace,
    	)
    }
    
    // NewGatewayPortNotDefinedOnService returns a new diag.Message based on GatewayPortNotDefinedOnService.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 22 10:13:03 UTC 2024
    - 43.2K bytes
    - Viewed (0)
  9. pkg/config/analysis/analyzers/testdata/sidecar-injector-configmap-absolute-override.yaml

    ablePolicyChecks":true,"enableHelmTest":false,"enableTracing":true,"enabled":true,"hub":"docker.io/istio","imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"istioNamespace":"istio-system","k8sIngress":{"enableHttps":false,"enabled":false,"gatewayName":"ingressgateway"},"localityLbSetting":{"enabled":true},"logAsJson":false,"logging":{"level":"default:info"},"meshExpansion":{"enabled":false,"useILB":false},"meshNetworks":{},"mtls":{"auto":false,"enabled":false},"multiCluster":{"clusterName":...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/testdata/common/sidecar-injector-configmap.yaml

    ablePolicyChecks":true,"enableHelmTest":false,"enableTracing":true,"enabled":true,"hub":"docker.io/istio","imagePullPolicy":"IfNotPresent","imagePullSecrets":[],"istioNamespace":"istio-system","k8sIngress":{"enableHttps":false,"enabled":false,"gatewayName":"ingressgateway"},"localityLbSetting":{"enabled":true},"logAsJson":false,"logging":{"level":"default:info"},"meshExpansion":{"enabled":false,"useILB":false},"meshNetworks":{},"mtls":{"auto":false,"enabled":false},"multiCluster":{"clusterName":...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 21 03:10:21 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top