Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for todo (0.2 sec)

  1. istioctl/pkg/writer/ztunnel/configdump/configdump.go

    func (c *ConfigWriter) PrintVersionSummary() error {
    	// TODO
    	return nil
    }
    
    // PrintPodRootCAFromDynamicSecretDump prints just pod's root ca from dynamic secret config dump to the ConfigWriter stdout
    func (c *ConfigWriter) PrintPodRootCAFromDynamicSecretDump() (string, error) {
    	// TODO
    	return "", nil
    }
    
    func (c *ConfigWriter) tabwriter() *tabwriter.Writer {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. istioctl/pkg/checkinject/checkinject.go

    				if err != nil {
    					return err
    				}
    				pod, err := kubeClient.Kube().CoreV1().Pods(podNs).Get(context.TODO(), podName, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    				ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), podNs, metav1.GetOptions{})
    				if err != nil {
    					return err
    				}
    				podLabels = pod.GetLabels()
    				nsLabels = ns.GetLabels()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  3. istioctl/pkg/describe/describe_test.go

    			client.Istio().NetworkingV1alpha3().DestinationRules(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.Gateway:
    			client.Istio().NetworkingV1alpha3().Gateways(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		case *v1alpha3.VirtualService:
    			client.Istio().NetworkingV1alpha3().VirtualServices(t.Namespace).Create(context.TODO(), t, metav1.CreateOptions{})
    		}
    	}
    	for i := range c.k8sConfigs {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Mar 28 09:54:01 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  4. bin/build_ztunnel.sh

      # Also copy it to out/$os_arch/ztunnel as that's whats used in the build
      echo "Copying '${2}' to ${TARGET_OUT_LINUX}/ztunnel"
      cp -f "${2}" "${TARGET_OUT_LINUX}/ztunnel"
    }
    
    function maybe_build_ztunnel() {
      # TODO detect git changes or something to avoid unnecessarily building
      # BUILD_ZTUNNEL=1 with no BUILD_ZTUNNEL_REPO tries to infer BUILD_ZTUNNEL_REPO
      if [[ "${BUILD_ZTUNNEL_REPO:-}" == "" ]] && [[ "${BUILD_ZTUNNEL:-}" != "" ]]; then
    Shell Script
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  5. manifests/charts/istio-control/istio-discovery/templates/clusterrole.yaml

      - apiGroups: ["config.istio.io", "security.istio.io", "networking.istio.io", "authentication.istio.io", "rbac.istio.io", "telemetry.istio.io", "extensions.istio.io"]
        verbs: ["update"]
        # TODO: should be on just */status but wildcard is not supported
        resources: ["*"]
    
      # Needed because status reporter sets the config map owner reference to the istiod pod
      - apiGroups: [""]
        verbs: ["update"]
    Others
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Thu Nov 09 01:32:06 GMT 2023
    - 5.6K bytes
    - Viewed (0)
  6. istioctl/pkg/multixds/gather.go

    	labelSelector := centralOpts.XdsPodLabel
    	if labelSelector == "" {
    		labelSelector = "app=istiod"
    	}
    	pods, err := kubeClient.GetIstioPods(context.TODO(), istioNamespace, metav1.ListOptions{
    		LabelSelector: labelSelector,
    		FieldSelector: kube.RunningStatus,
    	})
    	if err != nil {
    		return nil, err
    	}
    	if len(pods) == 0 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 08 08:38:19 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  7. istioctl/pkg/kubeinject/kubeinject.go

    			}()
    		}
    		tlsClientConfig.ServerName = fmt.Sprintf("%s.%s.%s", cc.Service.Name, cc.Service.Namespace, "svc")
    	} else if isMCPAddr(address) {
    		var err error
    		client.Transport, err = mcpTransport(context.TODO(), client.Transport)
    		if err != nil {
    			return nil, err
    		}
    	}
    	podBytes, err := json.Marshal(pod)
    	if pod.Namespace != "" {
    		deploymentNS = pod.Namespace
    	}
    	if err != nil {
    		return nil, err
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Mar 29 02:29:02 GMT 2024
    - 21.6K bytes
    - Viewed (0)
  8. cni/pkg/iptables/iptables_linux.go

    		// Equiv:
    		// ip rule add fwmark 0x111/0xfff pref 32764 lookup 100
    		//
    		// Adds in-pod rules for marking packets with the istio-specific TPROXY mark.
    		// A very similar mechanism is used for sidecar TPROXY.
    		//
    		// TODO largely identical/copied from tools/istio-iptables/pkg/capture/run_linux.go
    		inpodMarkRule := netlink.NewRule()
    		inpodMarkRule.Family = family
    		inpodMarkRule.Table = RouteTableInbound
    		inpodMarkRule.Mark = InpodTProxyMark
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. cni/pkg/plugin/kubernetes.go

    }
    
    // getK8sPodInfo returns information of a POD
    func getK8sPodInfo(client kubernetes.Interface, podName, podNamespace string) (*PodInfo, error) {
    	pod, err := client.CoreV1().Pods(podNamespace).Get(context.TODO(), podName, metav1.GetOptions{})
    	if err != nil {
    		return nil, err
    	}
    
    	pi := ExtractPodInfo(pod)
    	log.Debugf("Pod %v/%v info: \n%+v", podNamespace, podName, pi)
    
    	return pi, nil
    }
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. cni/pkg/util/podutil_test.go

    		},
    		{
    			name: "pod has sidecar and namespace has ambient enabled",
    			args: args{
    				namespace: namespaceWithAmbientEnabledLabel,
    				pod:       podWithSidecar,
    			},
    			want: false,
    		},
    		// TODO: when there exists a means for users to signal the intent to exclude a pod from ambient without requiring the use of
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 01 18:04:40 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top