- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 277 for KUBECONFIG (0.43 sec)
-
cni/test/testdata/expected/ZZZ-istio-cni-kubeconfig.expected
# Kubeconfig file for Istio CNI plugin. apiVersion: v1 kind: Config clusters: - name: local cluster: server: https://[10.110.0.1]:443
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 19 23:19:19 UTC 2020 - 2.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter.go
// get current context if _, ok := kubeConfig.Contexts[kubeConfig.CurrentContext]; !ok { return nil, errors.Errorf("invalid kubeConfig file %s: missing context %s", rw.kubeConfigFilePath, kubeConfig.CurrentContext) } // get cluster info for current context and ensure a server certificate is embedded in it clusterName := kubeConfig.Contexts[kubeConfig.CurrentContext].Cluster
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 01 03:09:53 UTC 2024 - 8.4K bytes - Viewed (0) -
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) -
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)