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

Updates to ServiceMeshExtensions are not picked up

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • maistra-2.0.1
    • maistra-2.0.0
    • None
    • None
    • MAISTRA 2.0.1

      When deploying the following SME:

      apiVersion: maistra.io/v1alpha1
      kind: ServiceMeshExtension
      metadata:   name: header-append
      spec:   config: test
        image: quay.io/maistra-dev/header-append-filter:latest
        phase: PostAuthZ
        priority: 1000
        workloadSelector:     labels:       app: httpbin
      
      

      We get the expected result:

      $ curl -I http://httpbin.apps-crc.testing/headers
      HTTP/1.1 200 OK
      server: istio-envoy
      ...
      custom-header: test
      ...
      
      

      But when subsequently updating the SME with a different config value:

      apiVersion: maistra.io/v1alpha1
      kind: ServiceMeshExtension
      metadata:   name: header-append
      spec:   config: different
        image: quay.io/maistra-dev/header-append-filter:latest
        phase: PostAuthZ
        priority: 1000
        workloadSelector:     labels:       app: httpbin
      

      The change is not applied:

      $ curl -I http://httpbin.apps-crc.testing/headers
      HTTP/1.1 200 OK
      server: istio-envoy
      ...
      custom-header: test
      ...
      
      

            rh-ee-gbaufake Guilherme Baufaker Rego
            dgrimm@redhat.com Daniel Grimm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: