Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8598

f-m-p failure to create deployment-less module

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • FIS 2.0
    • FIS 2.0
    • FIS-Fabric8
    • None
    • % %
    • FIS 2.0 Sprint 7

    Description

      I am trying to define a maven module that doesn't contain any openshift deployment or builds by itself, but should just aggregate deployments from dependencies.

      Even with

      <plugin>
              <groupId>io.fabric8</groupId>
              <artifactId>fabric8-maven-plugin</artifactId>
              <executions>
                <execution>
                  <goals>
                    <goal>resource</goal>
                  </goals>
                </execution>
              </executions>
              <configuration>
                      <images>
                      </images>
                      <resources>
                      </resources>
              </configuration>
            </plugin>
      
      

      an empty deployment config is still created (with no container defined inside, which fails during resource apply.. ):

      ---
      apiVersion: "v1"
      kind: "DeploymentConfig"
      metadata:
        annotations:
          fabric8.io/iconUrl: "img/icons/spring-boot.svg"
          fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=f8-arq&var-version=2.0.0-SNAPSHOT"
        labels:
          provider: "fabric8"
          project: "f8-arq"
          version: "2.0.0-SNAPSHOT"
          group: "com.redhat.xpaas"
        name: "f8-arq"
      spec:
        replicas: 1
        selector:
          project: "f8-arq"
          provider: "fabric8"
          group: "com.redhat.xpaas"
        strategy:
          rollingParams:
            timeoutSeconds: 10800
          type: "Rolling"
        template:
          metadata:
            annotations:
              fabric8.io/iconUrl: "img/icons/spring-boot.svg"
              fabric8.io/metrics-path: "dashboard/file/kubernetes-pods.json/?var-project=f8-arq&var-version=2.0.0-SNAPSHOT"
            labels:
              provider: "fabric8"
              project: "f8-arq"
              version: "2.0.0-SNAPSHOT"
              group: "com.redhat.xpaas"
          spec: {}
        triggers:
        - type: "ConfigChange"
      

      Attachments

        1. f8-arq.tar
          60 kB
        2. f8-arq-fixed.tar
          60 kB

        Activity

          People

            Unassigned Unassigned
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: