mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-23 09:47:25 +00:00
genpolicy: ignore volume configMap optional field
The auto-generated Policy already allows these volumes to be mounted, regardless if they are: - Present, or - Missing and optional Fixes: #8893 Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -71,6 +71,7 @@ pub struct PersistentVolumeClaimVolumeSource {
|
||||
pub struct ConfigMapVolumeSource {
|
||||
pub name: String,
|
||||
pub items: Option<Vec<KeyToPath>>,
|
||||
optional: Option<bool>,
|
||||
// TODO: additional fields.
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user