Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for proxyMetadata (0.1 sec)

  1. istioctl/pkg/workload/testdata/vmconfig-nil-proxy-metadata/mesh.yaml.golden

    defaultConfig:
      proxyMetadata:
        CANONICAL_REVISION: latest
        CANONICAL_SERVICE: foo
        ISTIO_META_CLUSTER_ID: Kubernetes
        ISTIO_META_DNS_CAPTURE: "true"
        ISTIO_META_MESH_ID: ""
        ISTIO_META_NETWORK: ""
        ISTIO_META_WORKLOAD_NAME: foo
        ISTIO_METAJSON_LABELS: '{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
        POD_NAMESPACE: bar
        SERVICE_ACCOUNT: vm-serviceaccount
        TRUST_DOMAIN: ""
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 500 bytes
    - Viewed (0)
  2. istioctl/pkg/workload/testdata/vmconfig/ipv4/meshconfig.yaml

    defaultConfig:
      proxyMetadata:
        # should be overridden by the command
        ISTIO_META_DNS_CAPTURE: "false"
        # should be overridden by the annotation on the WorkloadGroup
        PROXY_CONFIG_ANNOT_VALUE: "foo"
        # should be in the final cluster.env/mesh.yaml
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 300 bytes
    - Viewed (0)
  3. istioctl/pkg/workload/testdata/vmconfig/ipv6/meshconfig.yaml

    defaultConfig:
      proxyMetadata:
        # should be overridden by the command
        ISTIO_META_DNS_CAPTURE: "false"
        # should be overridden by the annotation on the WorkloadGroup
        PROXY_CONFIG_ANNOT_VALUE: "foo"
        # should be in the final cluster.env/mesh.yaml
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 300 bytes
    - Viewed (0)
  4. istioctl/pkg/workload/testdata/vmconfig/ipv6/workloadgroup.yaml

    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata:
        annotations:
          proxy.istio.io/config: |-
            proxyMetadata:
              # this should override the value from the global meshconfig
              PROXY_CONFIG_ANNOT_VALUE: bar
        labels: {}
      template:
        ports: {}
        serviceAccount: vm-serviceaccount
      probe:
        httpGet:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 377 bytes
    - Viewed (0)
  5. istioctl/pkg/workload/workload.go

    			if err := protomarshal.ApplyYAML(pcYaml, meshConfig.DefaultConfig); err != nil {
    				return nil, err
    			}
    			for k, v := range meshConfig.DefaultConfig.ProxyMetadata {
    				proxyMetadata[k] = v
    			}
    		}
    	}
    
    	meshConfig.DefaultConfig.ProxyMetadata = proxyMetadata
    
    	lbls := map[string]string{}
    	for k, v := range wg.Spec.Metadata.Labels {
    		lbls[k] = v
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/testdata/vmconfig/ipv4/workloadgroup.yaml

    kind: WorkloadGroup
    metadata:
      name: foo
      namespace: bar
    spec:
      metadata:
        annotations:
          proxy.istio.io/config: |-
            proxyMetadata:
              # this should override the value from the global meshconfig
              PROXY_CONFIG_ANNOT_VALUE: bar
        labels: {}
      template:
        ports: {}
        serviceAccount: vm-serviceaccount
      probe:
        httpGet:
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 377 bytes
    - Viewed (0)
  7. istioctl/pkg/workload/testdata/vmconfig/ipv4/mesh.yaml.golden

    defaultConfig:
      discoveryAddress: istiod-rev-1.istio-system.svc:15012
      proxyMetadata:
        CANONICAL_REVISION: latest
        CANONICAL_SERVICE: foo
        CLUSTER_MESH_CONFIG_VALUE: foo
        ISTIO_META_CLUSTER_ID: Kubernetes
        ISTIO_META_DNS_CAPTURE: "true"
        ISTIO_META_MESH_ID: ""
        ISTIO_META_NETWORK: ""
        ISTIO_META_WORKLOAD_NAME: foo
        ISTIO_METAJSON_LABELS: '{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 625 bytes
    - Viewed (0)
  8. istioctl/pkg/workload/testdata/vmconfig/ipv6/mesh.yaml.golden

    defaultConfig:
      discoveryAddress: istiod-rev-1.istio-system.svc:15012
      proxyMetadata:
        CANONICAL_REVISION: latest
        CANONICAL_SERVICE: foo
        CLUSTER_MESH_CONFIG_VALUE: foo
        ISTIO_META_CLUSTER_ID: Kubernetes
        ISTIO_META_DNS_CAPTURE: "true"
        ISTIO_META_MESH_ID: ""
        ISTIO_META_NETWORK: ""
        ISTIO_META_WORKLOAD_NAME: foo
        ISTIO_METAJSON_LABELS: '{"service.istio.io/canonical-name":"foo","service.istio.io/canonical-revision":"latest"}'
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Jun 15 15:02:17 UTC 2023
    - 625 bytes
    - Viewed (0)
  9. istioctl/pkg/workload/workload_test.go

    			if c.want != str {
    				t.Errorf("want %s, got %s", c.want, str)
    			}
    		})
    	}
    }
    
    // TestWorkloadEntryConfigureNilProxyMetadata tests a particular use case when the
    // proxyMetadata is nil, no metadata would be generated at all.
    func TestWorkloadEntryConfigureNilProxyMetadata(t *testing.T) {
    	testdir := "testdata/vmconfig-nil-proxy-metadata"
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 01 20:04:20 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top