Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
k3s
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jacklull
k3s
Commits
4a098980
Commit
4a098980
authored
Nov 05, 2018
by
Lubomir I. Ivanov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kubeadm: make sure that commands are not added for hidden phases
parent
1059fedd
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
8 deletions
+5
-8
runner.go
cmd/kubeadm/app/cmd/phases/workflow/runner.go
+5
-0
.generated_docs
docs/.generated_docs
+0
-2
kubeadm_init_phase_wait-control-plane.md
docs/admin/kubeadm_init_phase_wait-control-plane.md
+0
-3
kubeadm-init-phase-wait-control-plane.1
docs/man/man1/kubeadm-init-phase-wait-control-plane.1
+0
-3
No files found.
cmd/kubeadm/app/cmd/phases/workflow/runner.go
View file @
4a098980
...
...
@@ -301,6 +301,11 @@ func (e *Runner) BindToCommand(cmd *cobra.Command) {
// generate all the nested subcommands for invoking single phases
subcommands
:=
map
[
string
]
*
cobra
.
Command
{}
e
.
visitAll
(
func
(
p
*
phaseRunner
)
error
{
// skip hidden phases
if
p
.
Hidden
{
return
nil
}
// creates nested phase subcommand
var
phaseCmd
=
&
cobra
.
Command
{
Use
:
strings
.
ToLower
(
p
.
Name
),
...
...
docs/.generated_docs
View file @
4a098980
...
...
@@ -80,7 +80,6 @@ docs/admin/kubeadm_init_phase_kubeconfig_kubelet.md
docs/admin/kubeadm_init_phase_kubeconfig_scheduler.md
docs/admin/kubeadm_init_phase_kubelet-start.md
docs/admin/kubeadm_init_phase_preflight.md
docs/admin/kubeadm_init_phase_wait-control-plane.md
docs/admin/kubeadm_join.md
docs/admin/kubeadm_reset.md
docs/admin/kubeadm_token.md
...
...
@@ -176,7 +175,6 @@ docs/man/man1/kubeadm-init-phase-kubeconfig-scheduler.1
docs/man/man1/kubeadm-init-phase-kubeconfig.1
docs/man/man1/kubeadm-init-phase-kubelet-start.1
docs/man/man1/kubeadm-init-phase-preflight.1
docs/man/man1/kubeadm-init-phase-wait-control-plane.1
docs/man/man1/kubeadm-init-phase.1
docs/man/man1/kubeadm-init.1
docs/man/man1/kubeadm-join.1
...
...
docs/admin/kubeadm_init_phase_wait-control-plane.md
deleted
100644 → 0
View file @
1059fedd
This file is autogenerated, but we've stopped checking such files into the
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
populate this file.
docs/man/man1/kubeadm-init-phase-wait-control-plane.1
deleted
100644 → 0
View file @
1059fedd
This file is autogenerated, but we've stopped checking such files into the
repository to reduce the need for rebases. Please run hack/generate-docs.sh to
populate this file.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment