@@ -94,7 +94,7 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
94
94
DescriptionAnnotation : SecurityContextConstraintNonRootDesc ,
95
95
},
96
96
},
97
- Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim },
97
+ Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi . FSProjected },
98
98
SELinuxContext : kapi.SELinuxContextStrategyOptions {
99
99
// This strategy requires that annotations on the namespace which will be populated
100
100
// by the admission controller. If namespaces are not annotated creating the strategy
@@ -122,7 +122,7 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
122
122
DescriptionAnnotation : SecurityContextConstraintHostMountAndAnyUIDDesc ,
123
123
},
124
124
},
125
- Volumes : []kapi.FSType {kapi .FSTypeHostPath , kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi .FSTypeNFS },
125
+ Volumes : []kapi.FSType {kapi .FSTypeHostPath , kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi .FSTypeNFS , kapi . FSProjected },
126
126
SELinuxContext : kapi.SELinuxContextStrategyOptions {
127
127
// This strategy requires that annotations on the namespace which will be populated
128
128
// by the admission controller. If namespaces are not annotated creating the strategy
@@ -151,7 +151,7 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
151
151
DescriptionAnnotation : SecurityContextConstraintHostNSDesc ,
152
152
},
153
153
},
154
- Volumes : []kapi.FSType {kapi .FSTypeHostPath , kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim },
154
+ Volumes : []kapi.FSType {kapi .FSTypeHostPath , kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi . FSProjected },
155
155
AllowHostNetwork : true ,
156
156
AllowHostPorts : true ,
157
157
AllowHostPID : true ,
@@ -183,7 +183,7 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
183
183
DescriptionAnnotation : SecurityContextConstraintRestrictedDesc ,
184
184
},
185
185
},
186
- Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim },
186
+ Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi . FSProjected },
187
187
SELinuxContext : kapi.SELinuxContextStrategyOptions {
188
188
// This strategy requires that annotations on the namespace which will be populated
189
189
// by the admission controller. If namespaces are not annotated creating the strategy
@@ -213,7 +213,7 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
213
213
DescriptionAnnotation : SecurityContextConstraintsAnyUIDDesc ,
214
214
},
215
215
},
216
- Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim },
216
+ Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi . FSProjected },
217
217
SELinuxContext : kapi.SELinuxContextStrategyOptions {
218
218
// This strategy requires that annotations on the namespace which will be populated
219
219
// by the admission controller. If namespaces are not annotated creating the strategy
@@ -244,7 +244,7 @@ func GetBootstrapSecurityContextConstraints(sccNameToAdditionalGroups map[string
244
244
},
245
245
AllowHostNetwork : true ,
246
246
AllowHostPorts : true ,
247
- Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim },
247
+ Volumes : []kapi.FSType {kapi .FSTypeEmptyDir , kapi .FSTypeSecret , kapi .FSTypeDownwardAPI , kapi .FSTypeConfigMap , kapi .FSTypePersistentVolumeClaim , kapi . FSProjected },
248
248
SELinuxContext : kapi.SELinuxContextStrategyOptions {
249
249
// This strategy requires that annotations on the namespace which will be populated
250
250
// by the admission controller. If namespaces are not annotated creating the strategy
0 commit comments