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
507b03f2
Commit
507b03f2
authored
Nov 16, 2017
by
Kai Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a typo in kubeadm/GetEtcdPodSpec
parent
0eb999c2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
local.go
cmd/kubeadm/app/phases/etcd/local.go
+1
-1
No files found.
cmd/kubeadm/app/phases/etcd/local.go
View file @
507b03f2
...
@@ -47,7 +47,7 @@ func CreateLocalEtcdStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.Ma
...
@@ -47,7 +47,7 @@ func CreateLocalEtcdStaticPodManifestFile(manifestDir string, cfg *kubeadmapi.Ma
}
}
// GetEtcdPodSpec returns the etcd static Pod actualized to the context of the current MasterConfiguration
// GetEtcdPodSpec returns the etcd static Pod actualized to the context of the current MasterConfiguration
// NB. GetEtcdPodSpec methods holds the information about how kubeadm creates etcd static pod ma
in
fests.
// NB. GetEtcdPodSpec methods holds the information about how kubeadm creates etcd static pod ma
ni
fests.
func
GetEtcdPodSpec
(
cfg
*
kubeadmapi
.
MasterConfiguration
)
v1
.
Pod
{
func
GetEtcdPodSpec
(
cfg
*
kubeadmapi
.
MasterConfiguration
)
v1
.
Pod
{
pathType
:=
v1
.
HostPathDirectoryOrCreate
pathType
:=
v1
.
HostPathDirectoryOrCreate
etcdMounts
:=
map
[
string
]
v1
.
Volume
{
etcdMounts
:=
map
[
string
]
v1
.
Volume
{
...
...
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