Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for kubeconfig (0.07 sec)

  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 {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  2. 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: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 06 04:52:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. istioctl/pkg/cli/context.go

    	}
    	// Validate if "all" incoming contexts are present in the kubeconfig. Fail fast if not.
    	rawConfig, err := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(kube.ConfigLoadingRules(*i.kubeconfig), nil).RawConfig()
    	if err != nil {
    		return nil, fmt.Errorf("getting raw kubeconfig from file %q: %v", *i.kubeconfig, err)
    	}
    	impersonateConfig := i.getImpersonateConfig()
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 23 19:31:32 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  4. istioctl/pkg/multicluster/remote_secret_test.go

    			obj = &o
    			break
    		}
    	}
    	if obj == nil {
    		t.Fatalf("expected %v/%v", name, kind)
    	}
    }
    
    func TestCreateRemoteKubeconfig(t *testing.T) {
    	fakeClusterName := "fake-clusterName-0"
    	kubeconfig := strings.ReplaceAll(`apiVersion: v1
    clusters:
    - cluster:
        certificate-authority-data: Y2FEYXRh
        server: https://1.2.3.4
      name: {cluster}
    contexts:
    - context:
        cluster: {cluster}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 17:36:49 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  5. 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)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Sep 25 20:54:34 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. cni/pkg/plugin/plugin_test.go

        },
        "plugin_log_level": "debug",
        "cni_agent_run_dir": "%s",
        "ambient_enabled": %t,
    	"exclude_namespaces": ["testExcludeNS"],
        "kubernetes": {
            "k8s_api_root": "APIRoot",
            "kubeconfig": "testK8sConfig",
    		"intercept_type": "%s"
        }
    }`
    
    type mockInterceptRuleMgr struct {
    	lastRedirect []*Redirect
    }
    
    func buildMockConf(ambientEnabled bool) string {
    	return fmt.Sprintf(
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.31.md

    - Kubeadm: during the validation of existing kubeconfig files on disk, handle cases where the "ca.crt" is a bundle and has intermediate certificates. Find a common trust anchor between the "ca.crt" bundle and the CA in the existing kubeconfig on disk instead of treating "ca.crt" as a file containing a single CA. ([#123102](https://github.com/kubernetes/kubernetes/pull/123102), [@astundzia](h...
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 12:18:32 UTC 2024
    - 315.4K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.29.md

    ### Other (Cleanup or Flake)
    
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:37:31 UTC 2024
    - 375.1K bytes
    - Viewed (1)
  9. CHANGELOG/CHANGELOG-1.30.md

      much later). ([#122204](https://github.com/kubernetes/kubernetes/pull/122204), [@danwinship](https://github.com/danwinship))
    - Fixed a regression in "kubeadm init" where a user-specified --kubeconfig file was being ignored. ([#122735](https://github.com/kubernetes/kubernetes/pull/122735), [@avorima](https://github.com/avorima))
    - Fixed a regression in kubectl version `1.29.0` where the `--attach` flag was not honored.
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Wed Oct 23 04:40:14 UTC 2024
    - 309.1K bytes
    - Viewed (0)
Back to top