Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ISTIO_DUAL_STACK (0.1 sec)

  1. cni/pkg/plugin/sidecar_redirect.go

    		redir.dnsRedirect, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse DNS capture environment variable %v", valErr)
    		}
    	}
    	if v, found := pi.ProxyEnvironments["ISTIO_DUAL_STACK"]; found {
    		// parse and set the bool value of dnsRedirect
    		redir.dualStack, valErr = strconv.ParseBool(v)
    		if valErr != nil {
    			log.Warnf("cannot parse dual stack environment variable %v", valErr)
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  2. cni/pkg/plugin/plugin_test.go

    	pod, ns := buildFakePodAndNSForClient()
    	pod.ObjectMeta.Annotations[sidecarStatusKey] = "true"
    	pod.Spec.Containers = []corev1.Container{
    		{
    			Name: "istio-proxy",
    			Env:  []corev1.EnvVar{{Name: "ISTIO_DUAL_STACK", Value: "true"}},
    		}, {Name: "mockContainer"},
    	}
    
    	mockIntercept := testDoAddRun(t, buildMockConf(true), testNSName, pod, ns)
    
    	if len(mockIntercept.lastRedirect) == 0 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top