Andy Bavier | 1cd0a4b | 2021-04-26 15:24:57 -0700 | [diff] [blame] | 1 | # Copyright 2020-present Open Networking Foundation |
| 2 | # SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 3 | |
| 4 | apiVersion: v1 |
| 5 | kind: Service |
| 6 | metadata: |
| 7 | name: {{ include "edge-maintenance-agent.fullname" . }} |
| 8 | labels: |
| 9 | {{- include "edge-maintenance-agent.labels" . | nindent 4 }} |
| 10 | spec: |
| 11 | type: {{ .Values.service.type }} |
| 12 | ports: |
| 13 | - port: {{ .Values.service.port }} |
| 14 | targetPort: 8080 |
| 15 | protocol: TCP |
| 16 | name: http |
| 17 | selector: |
| 18 | {{- include "edge-maintenance-agent.selectorLabels" . | nindent 4 }} |