Uploaded image for project: 'Maistra'
  1. Maistra
  2. MAISTRA-1793

2.0 SMCP ignores oc patch --type merge -p commands

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • maistra-2.0.0
    • maistra-2.0.0
    • None
    • None
    • MAISTRA 2.0.0

      2.0 SMCP ignores oc patch --type merge -p commands

      After installing OSSM latest-2.0-qe SMCP on OCP 4.5.7, all previous working oc patch commands are not working in 2.0 SMCP.

      For example,

      $ oc patch -n istio-system smcp/basic-install --type merge -p '{"spec":{"istio":{"gateway":{"istio-ingressgateway":

      {"ior_enabled":"true"}

      }}}}'
      servicemeshcontrolplane.maistra.io/basic-install patched (no change)

      $ oc get -n istio-system smcp/basic-install -o yaml | grep ior_enabled
      {"apiVersion":"maistra.io/v1","kind":"ServiceMeshControlPlane","metadata":{"annotations":{},"name":"basic-install","namespace":"istio-system"},"spec":{"istio":{"gateways":{"istio-egressgateway":

      {"autoscaleEnabled":false}

      ,"istio-ingressgateway":{"autoscaleEnabled":false,"ior_enabled":false}},"grafana":{"enabled":true},"kiali":{"enabled":true},"mixer":{"policy":

      {"autoscaleEnabled":false}

      ,"telemetry":{"autoscaleEnabled":false}},"pilot":{"autoscaleEnabled":false,"traceSampling":100},"tracing":{"enabled":true,"jaeger":

      {"template":"all-in-one"}

      }},"version":"v2.0"}}
      f:ior_enabled: {}

      This is blocking QE testing any SMCP updates running in a scripts

            yuaxu@redhat.com Yuanlin Xu
            yuaxu@redhat.com Yuanlin Xu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: