aboutsummaryrefslogtreecommitdiffstats
path: root/kud/demo/firewall/charts/packetgen/templates/service.yaml
blob: 7b8fd9db773a2aa4717dda379445980289dc79e5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
apiVersion: v1
kind: Service
metadata:
  name: packetgen-service
  labels:
    app: {{ include "packetgen.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 "packetgen.name" . }}
    release: {{ .Release.Name }}