Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for NewDefaultPathOptions (0.09 sec)

  1. istioctl/pkg/cli/option.go

    	if r.defaultNamespace == "" {
    		r.configureDefaultNamespace()
    	}
    	return r.defaultNamespace
    }
    
    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
    	}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 30 01:19:20 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top