BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: $NRT_GATEWAY_APP_NAME |
| 5 | namespace: $KUBE_NONRTRIC_NAMESPACE |
| 6 | labels: |
| 7 | run: $NRT_GATEWAY_APP_NAME |
| 8 | autotest: NGW |
| 9 | spec: |
| 10 | type: ClusterIP |
| 11 | ports: |
| 12 | - port: $NRT_GATEWAY_EXTERNAL_PORT |
| 13 | targetPort: $NRT_GATEWAY_INTERNAL_PORT |
| 14 | protocol: TCP |
| 15 | name: http |
| 16 | - port: $NRT_GATEWAY_EXTERNAL_SECURE_PORT |
| 17 | targetPort: $NRT_GATEWAY_INTERNAL_SECURE_PORT |
| 18 | protocol: TCP |
| 19 | name: https |
| 20 | selector: |
| 21 | run: $NRT_GATEWAY_APP_NAME |