- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 77 for kubeconfig (0.2 sec)
-
cni/pkg/install/kubeconfig.go
"istio.io/istio/pilot/pkg/model" "istio.io/istio/pkg/file" ) type kubeconfig struct { // The full kubeconfig Full string // Kubeconfig with confidential data redacted. Redacted string } func createKubeConfig(cfg *config.InstallConfig) (kubeconfig, error) { if len(cfg.K8sServiceHost) == 0 { return kubeconfig{}, fmt.Errorf("KUBERNETES_SERVICE_HOST not set. Is this not running within a pod?") }
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 4.9K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-tls
John Howard <******@****.***> 1684290142 -0700
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 1.7K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} // Successful test case expecting failure return } else if c.expectedFailure { t.Fatalf("expected failure") } goldenFilepath := "testdata/kubeconfig-tls" if c.skipTLSVerify { goldenFilepath = "testdata/kubeconfig-skip-tls" } testutils.CompareContent(t, []byte(result.Full), goldenFilepath) }) } } func TestReplaceInvalidKubeconfigFile(t *testing.T) {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Feb 08 03:52:24 GMT 2024 - 5.1K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-newhost
Ben Leggett <******@****.***> 1691716743 -0400
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 1.7K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-skip-tls
John Howard <******@****.***> 1684290142 -0700
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Wed May 17 02:22:22 GMT 2023 - 342 bytes - Viewed (0) -
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
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Nov 19 23:19:19 GMT 2020 - 2.5K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
C1_POD_CIDR=$(KUBECONFIG="${C1_KUBECONFIG}" kubectl get node -ojsonpath='{.items[0].spec.podCIDR}') C2_POD_CIDR=$(KUBECONFIG="${C2_KUBECONFIG}" kubectl get node -ojsonpath='{.items[0].spec.podCIDR}') C1_SVC_CIDR=$(KUBECONFIG="${C1_KUBECONFIG}" kubectl cluster-info dump | sed -n 's/^.*--service-cluster-ip-range=\([^"]*\).*$/\1/p' | head -n 1)
Shell Script - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Mon Apr 08 19:12:55 GMT 2024 - 17.3K bytes - Viewed (1) -
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 {
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 18:01:27 GMT 2024 - 3.1K bytes - Viewed (0) -
cni/pkg/plugin/kubernetes.go
// Some config can be passed in a kubeconfig file kubeconfig := conf.Kubernetes.Kubeconfig config, err := kube.DefaultRestConfig(kubeconfig, "") if err != nil { log.Errorf("Failed setting up kubernetes client with kubeconfig %s", kubeconfig) return nil, err } log.Debugf("istio-cni set up kubernetes client with kubeconfig %s", kubeconfig) // Create the client
Go - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K bytes - Viewed (0) -
cni/pkg/install/testdata/istio-cni.conf
{ "cniVersion": "0.3.1", "name": "istio-cni", "type": "istio-cni", "log_level": "debug", "kubernetes": { "kubeconfig": "/path/to/kubeconfig", "cni_bin_dir": "/path/cni/bin" }
Plain Text - Registered: Wed Apr 24 22:53:08 GMT 2024 - Last Modified: Thu Jul 01 20:47:54 GMT 2021 - 201 bytes - Viewed (0)