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
4ec40e37
Commit
4ec40e37
authored
Apr 21, 2017
by
xilabao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix config path broken in kubeadm
parent
fe44d1f5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
manifests.go
cmd/kubeadm/app/master/manifests.go
+1
-1
manifests_test.go
cmd/kubeadm/app/master/manifests_test.go
+1
-1
No files found.
cmd/kubeadm/app/master/manifests.go
View file @
4ec40e37
...
...
@@ -242,7 +242,7 @@ func k8sVolume(cfg *kubeadmapi.MasterConfiguration) api.Volume {
func
k8sVolumeMount
()
api
.
VolumeMount
{
return
api
.
VolumeMount
{
Name
:
"k8s"
,
MountPath
:
"/etc/kubernetes/"
,
MountPath
:
kubeadmapi
.
GlobalEnvParams
.
KubernetesDir
,
ReadOnly
:
true
,
}
}
...
...
cmd/kubeadm/app/master/manifests_test.go
View file @
4ec40e37
...
...
@@ -299,7 +299,7 @@ func TestK8sVolumeMount(t *testing.T) {
{
expected
:
api
.
VolumeMount
{
Name
:
"k8s"
,
MountPath
:
"/etc/kubernetes/"
,
MountPath
:
kubeadmapi
.
GlobalEnvParams
.
KubernetesDir
,
ReadOnly
:
true
,
},
},
...
...
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