Uploaded image for project: 'OpenShift Service Mesh'
  1. OpenShift Service Mesh
  2. OSSM-2323

operator sdk and maistra controller dependencies issue

    XMLWordPrintable

Details

    • Ticket
    • Resolution: Won't Do
    • Undefined
    • None
    • OSSM 2.3.0
    • Customer Impact, Maistra
    • None
    • False
    • None
    • False
    • Sprint 62

    Description

      Customer is updating a custom operarator with the new operator-sdk version 1.12.0 compatible with k8s 1.21 and Openshift 4.8 and there's an issue importing the maistra types.

      Current custom operator libraries:

      Golang repository with an custom operator that uses and manages maistra types (ServiceMeshControlPlane, ServiceMeshMember, ServiceMeshMemberRoll) with the following go dependencies related to your maistra (https://github.com/maistra/istio-operator/tree/maistra-2.0) and operator sdk (https://github.com/operator-framework/operator-sdk/tree/v0.18.0) repositories

      • operator-sdk : 0.18.0
      • maistra 2.0
      • controller-runtime: v0.6.0

      Upgrade custom operator:

      Upgrade to operator-sdk to 1.12.0 (https://github.com/operator-framework/operator-sdk/tree/v1.12.0) and maistra 2.3 (https://github.com/maistra/istio-operator/tree/maistra-2.3.0), but the operator sdk uses controller dependencies "controller-runtime: v0.9.2" and maistra 2.3 "controller-runtime: v0.6.3"

      So, the problem here is importing "maistra_v1_apis - github.com/maistra/istio-operator/pkg/apis/maistra/v1" because find incompatibles versions about the controller-runtime.

       

      Request 
      Import maistra types without incompatible dependencies

      Attachments

        Issue Links

          Activity

            People

              jewertow@redhat.com Jacek Ewertowski
              rhn-support-mangarci Manrique García
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: