mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-03 19:58:17 +00:00 
			
		
		
		
	Support volume relabling for pods which specify an SELinux label
This commit is contained in:
		@@ -122,6 +122,10 @@ func (b *gitRepoVolumeBuilder) IsReadOnly() bool {
 | 
			
		||||
	return false
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
func (b *gitRepoVolumeBuilder) SupportsSELinux() bool {
 | 
			
		||||
	return true
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// This is the spec for the volume that this plugin wraps.
 | 
			
		||||
var wrappedVolumeSpec = &volume.Spec{
 | 
			
		||||
	Volume: &api.Volume{VolumeSource: api.VolumeSource{EmptyDir: &api.EmptyDirVolumeSource{}}},
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user