Skip to content

Commit

Permalink
[ENTESB-15980] Fuse 7.9 Boosters not migrated to Eclipse JKube
Browse files Browse the repository at this point in the history
  • Loading branch information
rnetuka committed Mar 12, 2021
1 parent df19180 commit 0f96ff2
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ $ cd my_openshift/fuse-configmap-booster
+
[source,bash,options="nowrap",subs="attributes+"]
----
$ mvn clean -DskipTests fabric8:deploy -Popenshift
$ mvn clean -DskipTests oc:deploy -Popenshift
----

. In your browser, navigate to the `MY_PROJECT_NAME` project in the OpenShift console.
Expand Down Expand Up @@ -109,7 +109,7 @@ $ cd my_openshift/fuse-configmap-booster
+
[source,bash,options="nowrap",subs="attributes+"]
----
$ mvn clean -DskipTests fabric8:deploy -Popenshift -Dfabric8.generator.fromMode=istag -Dfabric8.generator.from=MY_PROJECT_NAME/{image-name-version}
$ mvn clean -DskipTests oc:deploy -Popenshift -Djkube.generator.fromMode=istag -Djkube.generator.from=MY_PROJECT_NAME/{image-name-version}
----

. In your browser, navigate to the `MY_PROJECT_NAME` project in the OpenShift console.
Expand Down
35 changes: 34 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>

<fuse.bom.version>7.8.0.fuse-sb2-780038-redhat-00001</fuse.bom.version>
<docker.image.version>1.7</docker.image.version>
</properties>

<dependencyManagement>
Expand Down Expand Up @@ -207,19 +208,51 @@
<profiles>
<profile>
<id>openshift</id>
<properties>
<jkube.generator.from>registry.redhat.io/fuse7/fuse-java-openshift:${docker.image.version}</jkube.generator.from>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.jboss.redhat-fuse</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<artifactId>openshift-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>resource</goal>
<goal>build</goal>
<goal>apply</goal>
</goals>
</execution>
</executions>
<configuration>
<resources>
<labels>
<pod>
<property>
<name>com.company</name>
<value>Red_Hat</value>
</property>
<property>
<name>rht.prod_name</name>
<value>Red_Hat_Integration</value>
</property>
<property>
<name>rht.prod_ver</name>
<value>7.9</value>
</property>
<property>
<name>rht.comp</name>
<value>spring-boot-camel</value>
</property>
<property>
<name>rht.comp_ver</name>
<value>${fuse.bom.version}</value>
</property>
</pod>
</labels>
</resources>
</configuration>
</plugin>
</plugins>
</build>
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0f96ff2

Please sign in to comment.