Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-54760

cluster-storage-operator assets are using a deprecated label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 4.19
    • Storage / Operators
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Attempting to modify any of the assets managed by cluster-storage-operator and csi-operator implementations produces a warning from oc. For example:

      ❯ oc scale -n openshift-cluster-storage-operator deployment cluster-storage-operator --replicas 0
      Warning: spec.template.spec.nodeSelector[node-role.kubernetes.io/master]: use "node-role.kubernetes.io/control-plane" instead
      deployment.apps/cluster-storage-operator scaled
      

      The new label has been added to nodes since 1.20 as part of KEP-2067, so it should be safe to simply replace the tolerations and node selectors.

              sfinucan@redhat.com Stephen Finucane
              sfinucan@redhat.com Stephen Finucane
              None
              None
              Wei Duan Wei Duan
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: