Dan K
2019-07-16 698457ac05ca34aff02b1e7fc83c542540e3f9f2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
---
apiVersion: v1
kind: Service
metadata:
#  annotations:
#    fabric8.io/iconUrl: img/icons/camel.svg
  labels:
    expose: "true"
    app: ${project.artifactId}
    provider: fabric8
    version: "1.0"
    group: com.redhat.training
  name: ${project.artifactId}
spec:
  ports:
  - name: http-tomcat
    port: 8080
    protocol: TCP
    targetPort: 8080
#  - name: rest
#    port: ${rest-port}
#    protocol: TCP
#    targetPort: ${rest-port}
  selector:
    deploymentconfig: ${project.artifactId}