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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 7.8.0.GA
    • 7.7.0.GA, 7.7.1.GA
    • None
      • RHDM 7.7 image (rhdm-production-immutable)
      • OpenShift v4.2.18
      • Operator (Business Automation v1.4)
    • 2020 Week 19-21 (from May 4), 2020 Week 22-24 (from May 25)

    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
      

      Attachments

        Activity

          People

            tohughes Tommy Hughes
            rhn-support-hmiura Hiroko Miura
            Jose Carvajal Hilario Jose Carvajal Hilario
            Jose Carvajal Hilario Jose Carvajal Hilario
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: