mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-08-30 23:37:45 +00:00
genpolicy: ignore the nodeName field
Validating the node name is currently outside the scope of the CoCo policy. This change unblocks testing using Kata CI's test-pod-file-volume.yaml and pv-pod.yaml. Fixes: #8888 Signed-off-by: Dan Mihai <dmihai@microsoft.com>
This commit is contained in:
@@ -59,6 +59,9 @@ pub struct PodSpec {
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
pub volumes: Option<Vec<volume::Volume>>,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
nodeName: Option<String>,
|
||||
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
serviceAccountName: Option<String>,
|
||||
|
||||
|
Reference in New Issue
Block a user