BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 1 | apiVersion: v1 |
| 2 | kind: Service |
| 3 | metadata: |
| 4 | name: $CONTROL_PANEL_APP_NAME |
| 5 | namespace: $KUBE_NONRTRIC_NAMESPACE |
| 6 | labels: |
| 7 | run: $CONTROL_PANEL_APP_NAME |
| 8 | autotest: CP |
| 9 | spec: |
BjornMagnussonXA | 483ee33 | 2021-04-08 01:35:24 +0200 | [diff] [blame] | 10 | type: NodePort |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 11 | ports: |
| 12 | - port: $CONTROL_PANEL_EXTERNAL_PORT |
| 13 | targetPort: $CONTROL_PANEL_INTERNAL_PORT |
| 14 | protocol: TCP |
| 15 | name: http |
BjornMagnussonXA | 483ee33 | 2021-04-08 01:35:24 +0200 | [diff] [blame] | 16 | nodePort: |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 17 | - port: $CONTROL_PANEL_EXTERNAL_SECURE_PORT |
| 18 | targetPort: $CONTROL_PANEL_INTERNAL_SECURE_PORT |
| 19 | protocol: TCP |
| 20 | name: https |
BjornMagnussonXA | 483ee33 | 2021-04-08 01:35:24 +0200 | [diff] [blame] | 21 | nodePort: |
BjornMagnussonXA | e0b665e | 2021-01-08 22:19:18 +0100 | [diff] [blame] | 22 | selector: |
| 23 | run: $CONTROL_PANEL_APP_NAME |