Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-25035

[2166923] Support HCO jsonpatch annotation for SSP

XMLWordPrintable

    • CNV I/U Operators Sprint 233
    • Medium

      Description of problem:
      -----------------------
      HCO jsonpatch annotation[1] support modifying HCO managed CRs (i.e) KubeVirt, CDI, CNAO. There is no support for changing SSP using HCO jsonpatch annotation.

      In the case of Crypto policy feature for CNV v4.12, to enable modifing TLS security policy of specific CR (i.e) SSP, we would need HCO jsonpatch annotation support SSP.

      [1] - https://github.com/kubevirt/hyperconverged-cluster-operator/blob/main/docs/cluster-configuration.md#jsonpatch-annotations

      Version-Release number of selected component (if applicable):
      -------------------------------------------------------------
      CNV v4.12

      How reproducible:
      -----------------
      Always

      Steps to Reproduce:
      -------------------
      1. Modify SSP .spec.tlsSecurityProfile using HCO jsonpatch annotation

      1. oc annotate --overwrite hco kubevirt-hyperconverged -n openshift-cnv ssp.kubevirt.io/jsonpatch='[{"op": "add", "path": "/spec/tlsSecurityProfile", "value": {"type": "Old", "old": {}, "intermediate": null, "modern": null, "custom": null}}]'

      Actual results:
      ---------------
      HCO jsonpatch annotation doesn't work to update SSP

      Expected results:
      -----------------
      HCO jsonpatch annotation should support updating SSP operator

              stirabos Simone Tiraboschi
              sasundar@redhat.com Satheesaran Sundaramoorthi
              Satheesaran Sundaramoorthi Satheesaran Sundaramoorthi
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: