Skip to content

Instantly share code, notes, and snippets.

@davsclaus
Created April 26, 2017 12:36
Show Gist options
  • Save davsclaus/c2d2823a08c88827b5d8512fbe9c43fe to your computer and use it in GitHub Desktop.
Save davsclaus/c2d2823a08c88827b5d8512fbe9c43fe to your computer and use it in GitHub Desktop.
<plugin>
<groupId>io.fabric8</groupId>
<artifactId>fabric8-maven-plugin</artifactId>
<version>3.3.5</version>
<configuration>
<enricher>
<config>
<fmp-service>
<name>helloswarm</name>
<port>9090</port>
</fmp-service>
</config>
</enricher>
</configuration>
[INFO] --- fabric8-maven-plugin:3.3.5:resource (fmp) @ helloswarm ---
[INFO] F8: Running in OpenShift mode
[INFO] F8: Using docker image name of namespace: myproject
[INFO] F8: Running generator wildfly-swarm
[INFO] F8: wildfly-swarm: Using Docker image fabric8/java-jboss-openjdk8-jdk:1.2 as base / builder
[INFO] F8: fmp-controller: Adding a default Deployment
[INFO] F8: fmp-service: Adding a default service 'helloswarm' with ports [9090:8080]
@davsclaus
Copy link
Author

spec:
ports:

  • name: http
    port: 9090
    protocol: TCP
    targetPort: 8080
    selector:
    project: helloswarm
    provider: fabric8
    group: com.foo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment