- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 71 for kubeconfig (0.05 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?") }
Registered: 2025-05-28 22:53 - Last Modified: 2025-02-14 16:50 - 4K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-newhost
Ben Leggett <******@****.***> 1691716743 -0400
Registered: 2025-05-28 22:53 - Last Modified: 2023-08-11 01:19 - 1.7K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-tls
John Howard <******@****.***> 1684290142 -0700
Registered: 2025-05-28 22:53 - Last Modified: 2023-05-17 02:22 - 1.7K bytes - Viewed (0) -
cni/pkg/install/testdata/kubeconfig-skip-tls
John Howard <******@****.***> 1684290142 -0700
Registered: 2025-05-28 22:53 - Last Modified: 2023-05-17 02:22 - 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
Registered: 2025-05-28 22:53 - Last Modified: 2020-11-19 23:19 - 2.5K 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: 2025-05-28 22:53 - Last Modified: 2025-05-02 02:51 - 4.5K bytes - Viewed (0) -
common/scripts/kind_provisioner.sh
fi } function install_calico { local KUBECONFIG="${1}" local CONFIG_DIR="${2}" echo "Setting up ambient cluster, Calico CNI will be used." kubectl --kubeconfig="$KUBECONFIG" apply -f "${CONFIG_DIR}"/calico.yaml kubectl --kubeconfig="$KUBECONFIG" wait --for condition=ready -n kube-system pod -l k8s-app=calico-node --timeout 90s
Registered: 2025-05-28 22:53 - Last Modified: 2025-01-24 09:43 - 17.7K bytes - Viewed (0) -
cni/pkg/install/kubeconfig_test.go
} // Successful test case expecting failure return } else if c.expectedFailure { t.Fatal("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) {
Registered: 2025-05-28 22:53 - Last Modified: 2024-08-14 19:36 - 3.8K bytes - Viewed (0) -
cni/test/testdata/pre/calico.conflist
"name": "k8s-pod-network", "plugins": [ { "etcd_endpoints": "http://10.110.0.136:6666", "ipam": { "type": "calico-ipam" }, "kubernetes": { "kubeconfig": "/etc/cni/net.d/calico-kubeconfig" }, "mtu": 1500, "plugin_log_level": "info", "policy": { "type": "k8s" }, "type": "calico" }, { "capabilities": {
Registered: 2025-05-28 22:53 - Last Modified: 2024-05-21 18:32 - 528 bytes - Viewed (0) -
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: 2025-05-28 22:53 - Last Modified: 2025-05-22 13:45 - 8.3K bytes - Viewed (0)