Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for todo (0.12 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 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 23 21:30:30 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. 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 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 02 21:46:06 GMT 2024
    - 5K bytes
    - Viewed (0)
  3. 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 08 22:53:08 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  4. 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 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  5. 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 08 22:53:08 GMT 2024
    - Last Modified: Sat Feb 10 00:31:55 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 16:44:32 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  7. manifests/charts/README.md

    is a GKE cluster.
    
    ```bash
    ISTIO_CNI_ARGS=
    # TODO: What k8s data can we use for this check for whether GKE?
    if [[ "${ISTIO_CLUSTER_ISGKE}" == "true" ]]; then
        ISTIO_CNI_ARGS="--set cni.cniBinDir=/home/kubernetes/bin"
    fi
    iop kube-system istio-cni $IBASE/istio-cni/ ${ISTIO_CNI_ARGS}
    ```
    
    TODO. It is possible to add Istio-CNI later, and gradually migrate.
    
    ### Install Control plane
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Feb 07 17:53:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  8. istioctl/pkg/proxystatus/proxystatus_test.go

    				IstioNamespace: "istio-system",
    			})
    			if !c.noIstiod {
    				client, err := ctx.CLIClientWithRevision(c.revision)
    				assert.NoError(t, err)
    				_, err = client.Kube().CoreV1().Pods("istio-system").Create(context.TODO(), &corev1.Pod{
    					ObjectMeta: metav1.ObjectMeta{
    						Name:      "istiod-test",
    						Namespace: "istio-system",
    						Labels: map[string]string{
    							"app":                 "istiod",
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 08:28:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/informers.go

    			pods = append(pods, pod)
    		}
    	}
    	return pods
    }
    
    // EnqueueNamespace takes a Namespace and enqueues all Pod objects that make need an update
    // TODO it is sort of pointless/confusing/implicit to populate Old and New with the same reference here
    func (s *InformerHandlers) enqueueNamespace(o controllers.Object) {
    	namespace := o.GetName()
    	labels := o.GetLabels()
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri May 03 19:29:42 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  10. istioctl/pkg/xds/client.go

    func DialOptions(opts clioptions.CentralControlPlaneOptions,
    	ns, serviceAccount string, kubeClient kube.CLIClient,
    ) ([]grpc.DialOption, error) {
    	ctx := context.TODO()
    	// If we are using the insecure 15010 don't bother getting a token
    	if opts.Plaintext || opts.CertDir != "" {
    		return make([]grpc.DialOption, 0), nil
    	}
    	// Use bearer token
    	aud := tokenAudiences
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top