Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for filterMetadata (0.2 sec)

  1. pilot/pkg/networking/util/util_test.go

    				Namespace:        "default",
    				Domain:           "svc.cluster.local",
    				GroupVersionKind: gvk.DestinationRule,
    			},
    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{},
    			},
    			&core.Metadata{
    				FilterMetadata: map[string]*structpb.Struct{
    					IstioMetadataKey: {
    						Fields: map[string]*structpb.Value{
    							"config": {
    								Kind: &structpb.Value_StringValue{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 29 01:17:58 UTC 2024
    - 40K bytes
    - Viewed (0)
  2. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.json

                                "healthCheckConfig": {}
                            },
                            "healthStatus": "HEALTHY",
                            "metadata": {
                                "filterMetadata": {
                                    "istio": {
                                        "workload": "cert-manager-istio-csr;cert-manager;;;Kubernetes"
                                    }
                                }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 40.4K bytes
    - Viewed (0)
  3. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/emptyfilter_output.yaml

          metadata:
            filterMetadata:
              istio:
                workload: coredns;kube-system;;;Kubernetes
        - endpoint:
            address:
              socketAddress:
                address: 10.244.0.3
                portValue: 53
            healthCheckConfig: {}
          healthStatus: HEALTHY
          loadBalancingWeight: 1
          metadata:
            filterMetadata:
              istio:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 17.1K bytes
    - Viewed (0)
  4. pilot/pkg/networking/util/util.go

    	}
    
    	if metadata == nil {
    		metadata = &core.Metadata{
    			FilterMetadata: map[string]*structpb.Struct{},
    		}
    	}
    
    	if _, ok := metadata.FilterMetadata[IstioMetadataKey]; !ok {
    		metadata.FilterMetadata[IstioMetadataKey] = &structpb.Struct{
    			Fields: map[string]*structpb.Value{},
    		}
    	}
    
    	metadata.FilterMetadata[IstioMetadataKey].Fields["alpn_override"] = &structpb.Value{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  5. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/portfilter_output.json

                                "healthCheckConfig": {}
                            },
                            "healthStatus": "HEALTHY",
                            "metadata": {
                                "filterMetadata": {
                                    "istio": {
                                        "workload": "istio-ingressgateway;istio-system;istio-ingressgateway;latest;Kubernetes"
                                    }
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 2.4K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/testdata/endpoint/portfilter_output.yaml

            address:
              socketAddress:
                address: 10.244.0.176
                portValue: 8080
            healthCheckConfig: {}
          healthStatus: HEALTHY
          loadBalancingWeight: 1
          metadata:
            filterMetadata:
              istio:
                workload: istio-ingressgateway;istio-system;istio-ingressgateway;latest;Kubernetes
        loadBalancingWeight: 1
        locality: {}
      policy:
        overprovisioningFactor: 140
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jul 12 02:25:59 UTC 2022
    - 1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/endpoints/mtls_checker.go

    		destinationRule: tlsModeForDestinationRule(dr, subset, svcPort),
    	}
    }
    
    // isMtlsEnabled returns true if the given lbEp has mTLS enabled.
    func isMtlsEnabled(lbEp *endpoint.LbEndpoint) bool {
    	return lbEp.Metadata.FilterMetadata[util.EnvoyTransportSocketMetadataKey].
    		GetFields()[model.TLSModeLabelShortname].
    		GetStringValue() == model.IstioMutualTLSModeLabel
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 07:32:22 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  8. pilot/pkg/networking/core/cluster_test.go

    			clustersWithMetadata++
    			g.Expect(cluster.Metadata).NotTo(BeNil())
    			md := cluster.Metadata
    			g.Expect(md.FilterMetadata[util.IstioMetadataKey]).NotTo(BeNil())
    			istio := md.FilterMetadata[util.IstioMetadataKey]
    			g.Expect(istio.Fields["config"]).NotTo(BeNil())
    			dr := istio.Fields["config"]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 108.8K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster.go

    		cluster.Metadata = &core.Metadata{
    			FilterMetadata: map[string]*structpb.Struct{},
    		}
    	}
    	// Create Istio metadata if does not exist yet
    	if _, ok := cluster.Metadata.FilterMetadata[util.IstioMetadataKey]; !ok {
    		cluster.Metadata.FilterMetadata[util.IstioMetadataKey] = &structpb.Struct{
    			Fields: map[string]*structpb.Value{},
    		}
    	}
    	return cluster.Metadata.FilterMetadata[util.IstioMetadataKey]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/configdump/route.go

    			ret = append(ret, h)
    		}
    	}
    	return ret
    }
    
    func describeManagement(metadata *core.Metadata) string {
    	if metadata == nil {
    		return ""
    	}
    	istioMetadata, ok := metadata.FilterMetadata[pilot_util.IstioMetadataKey]
    	if !ok {
    		return ""
    	}
    	config, ok := istioMetadata.Fields["config"]
    	if !ok {
    		return ""
    	}
    	return renderConfig(config.GetStringValue())
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 11 05:38:17 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top