BjornMagnussonXA | 663566c | 2021-11-08 10:25:07 +0100 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: $DMAAP_ADP_APP_NAME |
| 5 | namespace: $KUBE_NONRTRIC_NAMESPACE |
| 6 | labels: |
| 7 | run: $DMAAP_ADP_APP_NAME |
| 8 | autotest: DMAAPADP |
| 9 | spec: |
| 10 | type: ClusterIP |
| 11 | ports: |
| 12 | - port: $DMAAP_ADP_EXTERNAL_PORT |
| 13 | targetPort: $DMAAP_ADP_INTERNAL_PORT |
| 14 | protocol: TCP |
| 15 | name: http |
| 16 | - port: $DMAAP_ADP_EXTERNAL_SECURE_PORT |
| 17 | targetPort: $DMAAP_ADP_INTERNAL_SECURE_PORT |
| 18 | protocol: TCP |
| 19 | name: https |
| 20 | selector: |
| 21 | run: $DMAAP_ADP_APP_NAME |