From d5ee3f8a27a870e226e4f047381bbcbee6d0f913 Mon Sep 17 00:00:00 2001 From: Nati Fridman Date: Wed, 25 Sep 2024 15:31:54 +0300 Subject: [PATCH] CNF-14285: ztp: reference: Change "pod-security.kubernetes.io/" to be prefix based --- ztp/kube-compare-reference/metadata.yaml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ztp/kube-compare-reference/metadata.yaml b/ztp/kube-compare-reference/metadata.yaml index 60336af99..8a73cc83f 100644 --- a/ztp/kube-compare-reference/metadata.yaml +++ b/ztp/kube-compare-reference/metadata.yaml @@ -202,10 +202,8 @@ fieldsToOmit: - pathToKey: metadata.annotations."include.release.openshift.io/single-node-developer" - pathToKey: metadata.annotations."release.openshift.io/create-only" - pathToKey: metadata.labels."lca.openshift.io/target-ocp-version" - - pathToKey: metadata.labels."pod-security.kubernetes.io/audit" - - pathToKey: metadata.labels."pod-security.kubernetes.io/audit-version" - - pathToKey: metadata.labels."pod-security.kubernetes.io/warn" - - pathToKey: metadata.labels."pod-security.kubernetes.io/warn-version" + - pathToKey: metadata.labels."pod-security.kubernetes.io/" + isPrefix: true - pathToKey: metadata.annotations."capability.openshift.io/name" - pathToKey: metadata.annotations."olm.providedAPIs" - pathToKey: metadata.annotations."operator.sriovnetwork.openshift.io/last-network-namespace"