Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 248 for KubeConfig (0.93 sec)

  1. pkg/test/framework/components/istioctl/kube.go

    		}
    	}
    	return nil
    }
    
    // Invoke implements Instance
    func (c *kubeComponent) Invoke(args []string) (string, string, error) {
    	cmdArgs := append([]string{
    		"--kubeconfig",
    		c.kubeconfig,
    	}, args...)
    
    	var out bytes.Buffer
    	var err bytes.Buffer
    
    	start := time.Now()
    
    	invokeMutex.Lock()
    	rootCmd := cmd.GetRootCmd(cmdArgs)
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&err)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. istioctl/pkg/cli/context.go

    }
    
    type instance struct {
    	// clients are cached clients for each revision
    	clients map[string]kube.CLIClient
    	RootFlags
    }
    
    func newKubeClientWithRevision(kubeconfig, configContext, revision string) (kube.CLIClient, error) {
    	rc, err := kube.DefaultRestConfig(kubeconfig, configContext, func(config *rest.Config) {
    		// We are running a one-off command locally, so we don't need to worry too much about rate limiting
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 02 08:32:06 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. common/scripts/setup_env.sh

            break
          fi
        fi
      done
    else
      add_KUBECONFIG_if_exists "$1"
    fi
    }
    
    KUBECONFIG=${KUBECONFIG:="$HOME/.kube/config"}
    parse_KUBECONFIG "${KUBECONFIG}"
    if [[ "${FOR_BUILD_CONTAINER:-0}" -eq "1" ]]; then
      KUBECONFIG="${container_kubeconfig%?}"
    fi
    
    # LOCAL_OUT should point to architecture where we are currently running versus the desired.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 14:37:27 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  4. cmd/kube-scheduler/app/options/deprecated.go

    	fs.StringVar(&o.Kubeconfig, "kubeconfig", "", "DEPRECATED: path to kubeconfig file with authorization and master location information. This parameter is ignored if a config file is specified in --config.")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 23 13:24:38 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/discovery/https/https.go

    	response, err := client.Get(httpsURL)
    	if err != nil {
    		return nil, err
    	}
    	defer response.Body.Close()
    
    	kubeconfig, err := io.ReadAll(response.Body)
    	if err != nil {
    		return nil, err
    	}
    
    	config, err := clientcmd.Load(kubeconfig)
    	if err != nil {
    		return nil, err
    	}
    	return file.ValidateConfigInfo(config, discoveryTimeout)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 24 04:29:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  6. istioctl/pkg/multicluster/options.go

    	"istio.io/istio/istioctl/pkg/cli"
    )
    
    const (
    	clusterNameAnnotationKey = "networking.istio.io/cluster"
    )
    
    // KubeOptions contains kubernetes options common to all commands.
    type KubeOptions struct {
    	Kubeconfig string
    	Context    string
    	Namespace  string
    }
    
    // Inherit the common kubernetes flags defined in the root package. This is a bit of a hack,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 01 23:59:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. manifests/charts/istio-control/istio-discovery/templates/deployment.yaml

          # Optional: user-generated root
          - name: cacerts
            secret:
              secretName: cacerts
              optional: true
          - name: istio-kubeconfig
            secret:
              secretName: istio-kubeconfig
              optional: true
          # Optional: istio-csr dns pilot certs
          - name: istio-csr-dns-cert
            secret:
              secretName: istiod-tls
              optional: true
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 30 20:24:06 UTC 2024
    - 9K bytes
    - Viewed (0)
  8. operator/cmd/mesh/testdata/manifest-generate/output/pilot_override_kubernetes.golden.yaml

                  path: istio-token
          - name: cacerts
            secret:
              optional: true
              secretName: cacerts
          - name: istio-kubeconfig
            secret:
              optional: true
              secretName: istio-kubeconfig
          - name: istio-csr-dns-cert
            secret:
              optional: true
              secretName: istiod-tls
          - configMap:
              defaultMode: 420
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 01 22:07:45 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/cmd/options/constant.go

    	ImageRepository = "image-repository"
    
    	// KubeconfigDir flag sets the path where to save the kubeconfig file.
    	KubeconfigDir = "kubeconfig-dir"
    
    	// KubeconfigPath flag sets the kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations are searched for an existing KubeConfig file.
    	KubeconfigPath = "kubeconfig"
    
    	// KubernetesVersion flag sets the Kubernetes version for the control plane.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	}
    
    	// creates a certificate and then embeds it into a kubeconfig file
    	cert := writeTestKubeconfig(t, dirKubernetes, "test", testCACert, testCAKey, time.Time{}, time.Time{})
    
    	// Creates a KubeconfigReadWriter
    	kubeconfigReadWriter := newKubeconfigReadWriter(dirKubernetes, "test", dirPKI, caName)
    
    	// Reads the certificate embedded in a kubeconfig
    	readCert, err := kubeconfigReadWriter.Read()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top