- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 29 for kubeConfigPath (3.65 sec)
-
tools/bug-report/pkg/config/config.go
} return false } // BugReportConfig controls what is captured and Include in the kube-capture tool // archive. type BugReportConfig struct { // KubeConfigPath is the path to kube config file. KubeConfigPath string `json:"kubeConfigPath,omitempty"` // Context is the cluster Context in the kube config Context string `json:"context,omitempty"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Nov 04 12:07:50 UTC 2023 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta3/defaults.go
func SetDefaults_FileDiscovery(obj *FileDiscovery) { // Make sure file URL becomes path if len(obj.KubeConfigPath) != 0 { u, err := url.Parse(obj.KubeConfigPath) if err == nil && u.Scheme == "file" { obj.KubeConfigPath = u.Path } } } // SetDefaults_BootstrapTokens sets the defaults for the .BootstrapTokens field
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 14 13:07:56 UTC 2024 - 6.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/bootstraptoken.go
Short: "Generates bootstrap tokens used to join a node to a cluster", Example: bootstrapTokenExamples, Long: bootstrapTokenLongDesc, InheritFlags: []string{ options.CfgPath, options.KubeconfigPath, options.SkipTokenPrint, options.DryRun, }, Run: runBootstrapToken, } } func runBootstrapToken(c workflow.RunData) error { data, ok := c.(InitData) if !ok {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 11 08:02:50 UTC 2022 - 4.1K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/v1beta4/defaults.go
func SetDefaults_FileDiscovery(obj *FileDiscovery) { // Make sure file URL becomes path if len(obj.KubeConfigPath) != 0 { u, err := url.Parse(obj.KubeConfigPath) if err == nil && u.Scheme == "file" { obj.KubeConfigPath = u.Path } } } // SetDefaults_BootstrapTokens sets the defaults for the .BootstrapTokens field
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 9.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/options/generic.go
fs.StringVar(kubeConfigFile, KubeconfigPath, *kubeConfigFile, "The kubeconfig file to use when talking to the cluster. If the flag is not set, a set of standard locations can be searched for an existing kubeconfig file.") // Note that DefValue is the text shown in the terminal and not the default value assigned to the flag fs.Lookup(KubeconfigPath).DefValue = constants.GetAdminKubeConfigPath() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/data.go
Cfg() *kubeadmapi.UpgradeConfiguration InitCfg() *kubeadmapi.InitConfiguration IsControlPlaneNode() bool Client() clientset.Interface IgnorePreflightErrors() sets.Set[string] PatchesDir() string KubeConfigPath() string OutputWriter() io.Writer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/common_test.go
dryRun bool flags applyPlanFlags expectedErr string expectedErrNonRoot string }{ { name: "Fail pre-flight check", flags: applyPlanFlags{ kubeConfigPath: fullPath, }, expectedErr: "ERROR CoreDNSUnsupportedPlugins", expectedErrNonRoot: "user is not running as", // user is not running as (root || administrator) }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/data_test.go
func (t *testData) IgnorePreflightErrors() sets.Set[string] { return nil } func (t *testData) PatchesDir() string { return "" } func (t *testData) KubeConfigPath() string { return "" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 1.7K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/init/data.go
Cfg() *kubeadmapi.InitConfiguration DryRun() bool SkipTokenPrint() bool IgnorePreflightErrors() sets.Set[string] CertificateWriteDir() string CertificateDir() string KubeConfigDir() string KubeConfigPath() string ManifestDir() string KubeletDir() string ExternalCA() bool OutputWriter() io.Writer Client() (clientset.Interface, error) ClientWithoutBootstrap() (clientset.Interface, error) Tokens() []string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 06 10:43:20 UTC 2023 - 1.4K bytes - Viewed (0) -
tools/bug-report/pkg/config/config_test.go
import ( "bytes" "reflect" "testing" "time" "github.com/google/go-cmp/cmp" "github.com/kr/pretty" "sigs.k8s.io/yaml" ) func TestUnmarshalKubeCaptureConfig(t *testing.T) { config := ` kubeConfigPath: a/b/c context: d istioNamespace: e1 dryRun: true fullSecrets: true commandTimeout: 5m include: - ns1,ns2/d1,d2/p1,p2/l1=lv1,l2=lv2/a1=av1,a2=av2/c1,c2
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Dec 15 15:19:50 UTC 2021 - 4.4K bytes - Viewed (0)