Richard Allred
2019-07-24 a0872a3849cde8043ed02c2e4a0487163da27562
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
apiVersion: v1
kind: Route
metadata:
  labels:
    expose: "true"
    app: ${project.artifactId}
    provider: fabric8
    version: "1.0"
    group: com.redhat.training
  name: ${project.artifactId}
spec:
  host: ${hostname}
  port:
    targetPort: ${service-port}
  to:
    kind: Service
    name: ${project.artifactId}