Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-1352

Unable to deploy immutable kie-server with specifying 'name' by using Operator

    Details

    • Type: Bug
    • Status: Verified (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.7.0.GA, 7.7.1.GA
    • Fix Version/s: 7.8.0.GA
    • Component/s: None
    • Labels:
    • Environment:
      • RHDM 7.7 image (rhdm-production-immutable)
      • OpenShift v4.2.18
      • Operator (Business Automation v1.4)

      Description

      When deploying kie-server using rhdm-production-immutable by operator with the following yaml, it fails to deploy kie-server pod due to missing image stream.

      apiVersion: app.kiegroup.org/v2
      kind: KieApp
      metadata:
        name: rhdm-production-immutable
        annotations:
          consoleName: rhdm-production-immutable
          consoleTitle: DM Production Immutable
          consoleDesc: Deploys a DM Production Immutable environment
      spec:
        environment: rhdm-production-immutable
        useImageTags: true
        objects:
          servers:
            - id: ks1
              name: ks1
              build:
                kieServerContainerDeployment: rhdm-kieserver-hellorules=org.openshift.quickstarts:rhdm-kieserver-hellorules:1.6.0-SNAPSHOT
                gitSource:
                  uri: https://github.com/jboss-container-images/rhdm-7-openshift-image.git
                  reference: master
                  contextDir: quickstarts/hello-rules/hellorules
      

      s2i build succeeds and the following imagestream is generated,

      NAME                                   DOCKER REPO                                                                                  TAGS      UPDATED
      ks1                                    image-registry.openshift-image-registry.svc:5000/ope2/ks1                                    latest    11 minutes ago
      

      but in deploymentConfig, it refers with different name of image stream.

        triggers:
        - imageChangeParams:
            automatic: true
            containerNames:
            - ks1
            from:
              kind: ImageStreamTag
              name: rhdm-production-immutable-kieserver:latest
              namespace: ope2
          type: ImageChange
        - type: ConfigChange
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                tohughes Tommy Hughes
                Reporter:
                hiroko Hiroko Miura
                Tester:
                Jose Carvajal Hilario
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: