-
Type:
Bug
-
Status: Closed
-
Priority:
Critical
-
Resolution: Done
-
Affects Version/s: FIS 2.0
-
Fix Version/s: FIS 2.0
-
Component/s: FIS-Fabric8
-
Labels:None
-
Sprint:FIS 2.0 Sprint 7
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"
|