Description of problem: ---------------------- Among the OLM deployments within the openshift-cnv namespace, ssp-operator pod is one that does not have a name label. Version-Release number of selected component (if applicable): ------------------------------------------------------------ 4.9.0-125 How reproducible: ---------------- 100% Steps to Reproduce: ------------------ $ oc get pod -n openshift-cnv ssp-operator-77cd5677d6-nzh6t -ojson |jq '.metadata.labels' { "app.kubernetes.io/component": "schedule", "app.kubernetes.io/managed-by": "olm", "app.kubernetes.io/part-of": "hyperconverged-cluster", "app.kubernetes.io/version": "v4.9.0", "control-plane": "ssp-operator", "pod-template-hash": "77cd5677d6", "prometheus.kubevirt.io": "" } Actual results: -------------- no "name" label. Expected results: ---------------- The pod should have a name label, e.g. "name": "ssp-operator". Additional info:
I think this bug is related to HCO. Because on my cluster with latest HCO installed, the labels were added, even without the patches that fix this issue in SSP operator. Simone, should this bug be moved to the Installation component?
@stirabos this is what the ssp operator pod has now with Andrej's fix (ssp operator 4.9.0-27): labels: app.kubernetes.io/component: schedule app.kubernetes.io/managed-by: olm app.kubernetes.io/part-of: hyperconverged-cluster app.kubernetes.io/version: v4.9.0 control-plane: ssp-operator name: ssp-operator pod-template-hash: 69b6fc6fd7 prometheus.kubevirt.io: ""
Due to change on the SSP side, the additional label is now included in the template in the deployment specified in the CSV.
Verified with ssp operator 4.9.0-27, the name label now exists.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Virtualization 4.9.0 Images security and bug fix update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:4104