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
355ac2c5
Commit
355ac2c5
authored
Dec 01, 2015
by
k8s-merge-robot
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #17581 from swagiaal/correct-management-predicates
Auto commit by PR queue bot
parents
7644d347
a7fc9993
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
kubelet.go
pkg/kubelet/kubelet.go
+1
-1
No files found.
pkg/kubelet/kubelet.go
View file @
355ac2c5
...
@@ -1206,7 +1206,7 @@ func makeMounts(pod *api.Pod, podDir string, container *api.Container, podVolume
...
@@ -1206,7 +1206,7 @@ func makeMounts(pod *api.Pod, podDir string, container *api.Container, podVolume
// If the volume supports SELinux and it has not been
// If the volume supports SELinux and it has not been
// relabeled already and it is not a read-only volume,
// relabeled already and it is not a read-only volume,
// relabel it and mark it as labeled
// relabel it and mark it as labeled
if
vol
.
Builder
.
GetAttributes
()
.
SupportsSELinux
&&
!
vol
.
SELinuxLabeled
&&
!
vol
.
Builder
.
GetAttributes
()
.
Manag
ed
{
if
vol
.
Builder
.
GetAttributes
()
.
Managed
&&
vol
.
Builder
.
GetAttributes
()
.
SupportsSELinux
&&
!
vol
.
SELinuxLabel
ed
{
vol
.
SELinuxLabeled
=
true
vol
.
SELinuxLabeled
=
true
relabelVolume
=
true
relabelVolume
=
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