- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 39 for kubeconfig (0.16 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 May 08 22:53:08 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 4.9K 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 May 08 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 May 08 22:53:08 GMT 2024 - Last Modified: Fri Aug 11 01:19:03 GMT 2023 - 1.7K 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 May 08 22:53:08 GMT 2024 - Last Modified: Mon Apr 08 19:12:55 GMT 2024 - 17.3K bytes - Viewed (1) -
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 May 08 22:53:08 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 3.6K 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 {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 18:01:27 GMT 2024 - 3.1K bytes - Viewed (0) -
manifests/charts/istio-cni/templates/configmap-cni.yaml
{{if .Values.cni.ambient.enabled}}"ambient_enabled": true,{{end}} "cni_event_address": "__CNI_EVENT_ADDRESS__", "kubernetes": { "kubeconfig": "__KUBECONFIG_FILEPATH__", "cni_bin_dir": {{ .Values.cni.cniBinDir | default $defaultBinDir | quote }},
Others - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 1.3K bytes - Viewed (0) -
cni/pkg/nodeagent/server.go
} func (s *Server) NotReady() { s.isReady.Store(false) } // buildKubeClient creates the kube client func buildKubeClient(kubeConfig string) (kube.Client, error) { // Used by validation kubeRestConfig, err := kube.DefaultRestConfig(kubeConfig, "", func(config *rest.Config) { config.QPS = 80 config.Burst = 160 }) if err != nil { return nil, fmt.Errorf("failed creating kube config: %v", err)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 7.2K bytes - Viewed (0) -
common/scripts/setup_env.sh
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. # This is used when we need to run a build artifact during tests or later as part of another # target.
Shell Script - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 16:31:40 GMT 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret.go
istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml apply -f - # Delete a secret that was previously installed in c1 istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 \ | kubectl --kubeconfig=c1.yaml delete -f - # Create a secret access a remote cluster with an auth plugin
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Oct 11 01:43:17 GMT 2023 - 24K bytes - Viewed (0)