-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.18
-
None
-
Low
-
None
-
False
-
-
Description of problem:
kube-compare reports the following differences for SriovOperatorConfig CR as these are the default values and don't show up in the CR spec.
Version-Release number of selected component (if applicable):
4.18
How reproducible:
100%
Steps to Reproduce:
1. Run kube compare against a 4.18 SNO with DU profile using SriovOperatorConfigForSNO.yaml PGT file
Actual results:
Differences found in CR: sriovnetwork.openshift.io/v1_SriovOperatorConfig_openshift-sriov-network-operator_default, Compared To Reference CR: required/sriov-operator/SriovOperatorConfigForSNO.yaml diff -u -N /tmp/MERGED-1249543620/sriovnetwork-openshift-io-v1_sriovoperatorconfig_openshift-sriov-network-operator_default /tmp/LIVE-2063834543/sriovnetwork-openshift-io-v1_sriovoperatorconfig_openshift-sriov-network-operator_default --- /tmp/MERGED-1249543620/sriovnetwork-openshift-io-v1_sriovoperatorconfig_openshift-sriov-network-operator_default 2024-11-05 09:00:47.247710086 +0000 +++ /tmp/LIVE-2063834543/sriovnetwork-openshift-io-v1_sriovoperatorconfig_openshift-sriov-network-operator_default 2024-11-05 09:00:47.248710124 +0000 @@ -7,6 +7,3 @@ configDaemonNodeSelector: node-role.kubernetes.io/master: "" disableDrain: true - enableInjector: false - enableOperatorWebhook: false - logLevel: 0
Expected results:
No differences.
Additional info:
This is how the CR shows on the cluster: apiVersion: v1 items: - apiVersion: sriovnetwork.openshift.io/v1 kind: SriovOperatorConfig metadata: creationTimestamp: "2024-11-04T11:27:28Z" finalizers: - operatorconfig.finalizers.sriovnetwork.openshift.io generation: 2 name: default namespace: openshift-sriov-network-operator resourceVersion: "15702" uid: 0f590f50-1891-46ff-9879-cc99ecf97792 spec: configDaemonNodeSelector: node-role.kubernetes.io/master: "" disableDrain: true kind: List metadata: resourceVersion: ""