- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 249 for KubeConfig (0.2 sec)
-
pkg/test/helm/helm.go
"istio.io/istio/pkg/test/shell" ) // Helm allows clients to interact with helm commands in their cluster type Helm struct { kubeConfig string } // New returns a new instance of a helm object. func New(kubeConfig string) *Helm { return &Helm{ kubeConfig: kubeConfig, } } // InstallChartWithValues installs the specified chart with its given name to the given namespace
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jan 23 19:25:43 UTC 2023 - 3.3K bytes - Viewed (0) -
istioctl/pkg/cli/option.go
} func (r *RootFlags) configureDefaultNamespace() { configAccess := clientcmd.NewDefaultPathOptions() kubeconfig := *r.kubeconfig if kubeconfig != "" { // use specified kubeconfig file for the location of the // config to read configAccess.GlobalFile = kubeconfig } // gets existing kubeconfig or returns new empty config config, err := configAccess.GetStartingConfig() if err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jan 26 18:01:27 UTC 2024 - 3.1K bytes - Viewed (0) -
cmd/kube-scheduler/app/options/options.go
kubeConfig.AcceptContentTypes = config.AcceptContentTypes kubeConfig.ContentType = config.ContentType kubeConfig.QPS = config.QPS kubeConfig.Burst = int(config.Burst) return kubeConfig, nil } // createClients creates a kube client and an event client from the given kubeConfig func createClients(kubeConfig *restclient.Config) (clientset.Interface, clientset.Interface, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 17 17:06:29 UTC 2024 - 13.3K bytes - Viewed (0) -
cmd/kubeadm/test/kubeconfig/util.go
limitations under the License. */ package kubeconfig import ( "crypto/x509" "encoding/pem" "testing" "time" clientcmdapi "k8s.io/client-go/tools/clientcmd/api" certstestutil "k8s.io/kubernetes/cmd/kubeadm/app/util/certs" ) // AssertKubeConfigCurrentCluster is a utility function for kubeadm testing that asserts if the CurrentCluster in // the given KubeConfig object contains refers to a specific cluster
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 4.9K bytes - Viewed (0) -
cmd/kubeadm/app/discovery/token/token_test.go
} for _, test := range tests { t.Run(test.name, func(t *testing.T) { kubeconfig := buildSecureBootstrapKubeConfig("127.0.0.1", []byte(caCert), "somecluster") kubeconfigBytes, err := clientcmd.Write(*kubeconfig) if err != nil { t.Fatalf("cannot marshal kubeconfig %v", err) } // Generate signature of the insecure kubeconfig
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 10.9K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/certs_test.go
} } for _, kubeConfig := range test.KubeconfigFiles { file, err := os.Stat(filepath.Join(tmpDir, kubeConfig)) if err != nil { t.Fatalf("couldn't get kubeconfig %s: %v", kubeConfig, err) } if ModTime[kubeConfig] == file.ModTime() { t.Errorf("kubeconfig %s was not renewed as expected", kubeConfig) } } } }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 21 13:26:12 UTC 2024 - 20.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/webhook/authentication_test.go
) func TestAuthenticationDetection(t *testing.T) { tests := []struct { name string kubeconfig clientcmdapi.Config serverName string expected rest.Config }{ { name: "empty", serverName: "foo.com", }, { name: "fallback to current context", serverName: "foo.com", kubeconfig: clientcmdapi.Config{ AuthInfos: map[string]*clientcmdapi.AuthInfo{ "bar.com": {Token: "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 12 15:48:03 UTC 2023 - 6.9K bytes - Viewed (0) -
hack/local-up-cluster.sh
${CONTROLPLANE_SUDO} cp "${CERT_DIR}/admin.kubeconfig" "${CERT_DIR}/admin-kube-aggregator.kubeconfig" ${CONTROLPLANE_SUDO} chown -R "$(whoami)" "${CERT_DIR}" ${KUBECTL} config set-cluster local-up-cluster --kubeconfig="${CERT_DIR}/admin-kube-aggregator.kubeconfig" --server="https://${API_HOST_IP}:31090" echo "use 'kubectl --kubeconfig=${CERT_DIR}/admin-kube-aggregator.kubeconfig' to use the aggregated API server" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 25 02:33:52 UTC 2024 - 53.3K bytes - Viewed (0) -
cluster/common.sh
"--client-key=${KUBE_KEY}" "--embed-certs=true" ) fi KUBECONFIG="${KUBECONFIG}" "${kubectl}" config set-cluster "${CONTEXT}" "${cluster_args[@]}" if [[ -n "${user_args[*]:-}" ]]; then KUBECONFIG="${KUBECONFIG}" "${kubectl}" config set-credentials "${CONTEXT}" "${user_args[@]}" fi KUBECONFIG="${KUBECONFIG}" "${kubectl}" config set-context "${CONTEXT}" --cluster="${CONTEXT}" --user="${CONTEXT}"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 17 15:36:33 UTC 2023 - 17.9K bytes - Viewed (0) -
pkg/test/framework/components/environment/kube/settings.go
} scopes.Framework.Infof("Using KubeConfigs: %v.", s.KubeConfig) if err := s.validateTopologyFlags(len(s.KubeConfig)); err != nil { return nil, err } var configs []cluster.Config for i, kc := range s.KubeConfig { ci := clusterIndex(i) cfg := cluster.Config{ Name: fmt.Sprintf("cluster-%d", i), Network: s.networkTopology[ci], Meta: config.Map{"kubeconfig": kc}, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 22:12:34 UTC 2024 - 8.3K bytes - Viewed (0)