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

Deploying an existing v1 SMCP resource is rejected by the admission hook

XMLWordPrintable

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

      The error message is

      Error from server (BadRequest): error when creating "smcp.yaml": admission webhook "smcp.validation.maistra.io" denied the request: must use v2 ServiceMeshControlPlane resource for v2.0+ installations
      

      The workaround is to explicitly define the version within the SMCP spec

      spec:
        version: v1.1
      

              mluksa@redhat.com Marko Luksa
              kconner@redhat.com Kevin Conner (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: