Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-9748

[Operator] Additional Arguments are not being added to container-builder

XMLWordPrintable

    • 2023 Week 33-35 (from Aug 14)

      There's a bug where a user can set spec.arguments in SonataBuild, but these arguments are not passed to the underlying builder pod:

      spec: 
        arguments: 
          - >-
            --build-arg=QUARKUS_EXTENSIONS=kogito-addons-quarkus-events-process,kogito-addons-quarkus-process-management
        resources: {}
        timeout: 0s
      

      The status in the inner build is:

      status: 
        buildPhase: Running
        innerBuild: 
          metadata: 
            name: greeting
            namespace: kogito-9741
          spec: 
            strategy: pod
            tasks: 
              - kaniko: 
                  cache: {}
                  contextDir: /builder/greeting/context
                  image: greeting:0.0.1
                  name: KanikoTask
                  registry: 
                    address: 10.100.163.129
                  resources: {}
            timeout: 5m0s
          status: 
            phase: Running
      

      No arguments in the kaniko task.

            rhn-support-zanini Ricardo Zanini Fernandes
            rhn-support-zanini Ricardo Zanini Fernandes
            Tristan Radisson Tristan Radisson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: