@@ -66,6 +66,7 @@ const (
66
66
FeaturePodSpecHostPID = "kubernetes.podspec-hostpid"
67
67
FeaturePodSpecHostPath = "kubernetes.podspec-volumes-hostpath"
68
68
FeaturePodSpecInitContainers = "kubernetes.podspec-init-containers"
69
+ FeaturePodSpecMountPropagation = "kubernetes.podspec-mount-propagation"
69
70
FeaturePodSpecNodeSelector = "kubernetes.podspec-nodeselector"
70
71
FeaturePodSpecPVClaim = "kubernetes.podspec-persistent-volume-claim"
71
72
FeaturePodSpecPriorityClassName = "kubernetes.podspec-priorityclassname"
@@ -99,6 +100,7 @@ func defaultFeaturesConfig() *Features {
99
100
PodSpecTolerations : Disabled ,
100
101
PodSpecVolumesEmptyDir : Enabled ,
101
102
PodSpecVolumesHostPath : Disabled ,
103
+ PodSpecVolumeMountPropagation : Disabled ,
102
104
PodSpecPersistentVolumeClaim : Disabled ,
103
105
PodSpecPersistentVolumeWrite : Disabled ,
104
106
QueueProxyMountPodInfo : Disabled ,
@@ -139,6 +141,7 @@ func NewFeaturesConfigFromMap(data map[string]string) (*Features, error) {
139
141
asFlag (FeaturePodSpecHostPID , & nc .PodSpecHostPID ),
140
142
asFlag (FeaturePodSpecHostPath , & nc .PodSpecVolumesHostPath ),
141
143
asFlag (FeaturePodSpecInitContainers , & nc .PodSpecInitContainers ),
144
+ asFlag (FeaturePodSpecMountPropagation , & nc .PodSpecVolumeMountPropagation ),
142
145
asFlag (FeaturePodSpecNodeSelector , & nc .PodSpecNodeSelector ),
143
146
asFlag (FeaturePodSpecPVClaim , & nc .PodSpecPersistentVolumeClaim ),
144
147
asFlag (FeaturePodSpecPriorityClassName , & nc .PodSpecPriorityClassName ),
@@ -181,6 +184,7 @@ type Features struct {
181
184
PodSpecTolerations Flag
182
185
PodSpecVolumesEmptyDir Flag
183
186
PodSpecVolumesHostPath Flag
187
+ PodSpecVolumeMountPropagation Flag
184
188
PodSpecInitContainers Flag
185
189
PodSpecPersistentVolumeClaim Flag
186
190
PodSpecPersistentVolumeWrite Flag
0 commit comments