aboutsummaryrefslogtreecommitdiffstats
path: root/starlingx/demo/firewall-sriov/charts/sink-sriov/templates/service.yaml
blob: 99da7de7a36c2f7aeea6cada51ec658da17f4b9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  name: sink-service
  labels:
    app: {{ include "sink.name" . }}
    release: {{ .Release.Name }}
    chart: {{ .Chart.Name }}
spec:
  type: {{ .Values.service.type }}
  ports:
    - port: {{ .Values.service.ports.port  }}
      nodePort: {{ .Values.service.ports.nodePort }} 
  selector:
    app: {{ include "sink.name" . }}
    release: {{ .Release.Name }}