Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 73 for TODO (0.17 sec)

  1. 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 01 22:53:12 GMT 2024
    - Last Modified: Tue Dec 19 22:42:42 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/multicluster/cluster.go

    // (see https://docs.google.com/document/d/1F__vEKeI41P7PPUCMM9PVPYY34pyrvQI5rbTJVnS5c4)
    func clusterUID(client kubernetes.Interface) (types.UID, error) {
    	kubeSystem, err := client.CoreV1().Namespaces().Get(context.TODO(), "kube-system", metav1.GetOptions{})
    	if err != nil {
    		return "", err
    	}
    	return kubeSystem.UID, nil
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Sep 02 03:11:58 GMT 2022
    - 1.1K bytes
    - Viewed (0)
  3. manifests/charts/istiod-remote/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.7K bytes
    - Viewed (0)
  4. operator/cmd/mesh/operator_test.go

    	"istio.io/istio/pkg/kube"
    	"istio.io/istio/pkg/test/env"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    var (
    	extendedClient kube.CLIClient
    	kubeClient     client.Client
    )
    
    // TODO: rewrite this with running the actual top level command.
    func TestOperatorDump(t *testing.T) {
    	goldenFilepath := filepath.Join(env.IstioSrc, "operator/cmd/mesh/testdata/operator/output/operator-dump.yaml")
    
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Tue Aug 29 14:15:33 GMT 2023
    - 6.4K bytes
    - Viewed (0)
  5. istioctl/pkg/proxyconfig/clusters.go

    	"encoding/json"
    	"fmt"
    	"io"
    	"text/tabwriter"
    
    	"github.com/spf13/cobra"
    
    	"istio.io/istio/istioctl/pkg/cli"
    	"istio.io/istio/istioctl/pkg/clioptions"
    	"istio.io/istio/pkg/cluster"
    )
    
    // TODO move to multicluster package; requires exposing some private funcs/vars in this package
    func ClustersCommand(ctx cli.Context) *cobra.Command {
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Jun 15 15:02:17 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  6. istioctl/pkg/dashboard/dashboard.go

    			}
    
    			if err != nil {
    				return fmt.Errorf("failed to create k8s client: %v", err)
    			}
    
    			var podName, ns string
    			if labelSelector != "" {
    				pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector)
    				if err != nil {
    					return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err)
    				}
    
    				if len(pl.Items) < 1 {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Apr 15 01:29:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/informers_test.go

    		},
    		Spec: corev1.PodSpec{
    			NodeName: NodeName,
    		},
    		Status: corev1.PodStatus{
    			PodIP: "11.1.1.12",
    		},
    	}
    	ns := &corev1.Namespace{
    		ObjectMeta: metav1.ObjectMeta{Name: "test"},
    		// TODO: once we if the add pod bug, re-enable this and remove the patch below
    		//		Labels: map[string]string{constants.DataplaneMode: constants.DataplaneModeAmbient},
    
    	}
    
    	client := kube.NewFakeClient(ns, pod)
    
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  8. cni/pkg/nodeagent/ztunnelserver.go

    	}
    
    	if resp.GetAck().GetError() != "" {
    		log.Errorf("add-workload: got ack error: %s", resp.GetAck().GetError())
    		return fmt.Errorf("got ack error: %s", resp.GetAck().GetError())
    	}
    	return nil
    }
    
    // TODO ctx is unused here
    // nolint: unparam
    func (z *ztunnelServer) sendSnapshot(ctx context.Context, conn *ZtunnelConnection) error {
    	snap := z.pods.ReadCurrentPodSnapshot()
    	for uid, wl := range snap {
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  9. cni/test/install_cni.go

    ) {
    	ztunnelAddr := "/tmp/ztfoo"
    	cniEventAddr := "/tmp/cnieventfoo"
    	defer os.Remove(ztunnelAddr)
    	defer os.Remove(cniEventAddr)
    
    	// "fake" constant, overridable for tests
    	// TODO this is gross, fix this
    	constants.ServiceAccountPath = tempK8sSvcAcctDir
    
    	installConfig := config.Config{
    		InstallConfig: config.InstallConfig{
    			CNIEventAddress:    cniEventAddr,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/core/v1/generated.proto

      // for the transition into the object's current status.
      // TODO: provide exact specification for format.
      // +optional
      optional string reason = 3;
    
      // A human-readable description of the status of this operation.
      // TODO: decide on maximum length.
      // +optional
      optional string message = 4;
    
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 255.8K bytes
    - Viewed (0)
Back to top