ungleich-k8s/apps/netbox/templates/service.yaml

16 lines
358 B
YAML
Raw Normal View History

2021-10-21 06:38:40 +00:00
apiVersion: v1
kind: Service
metadata:
name: {{ include "netbox.fullname" . }}
labels:
{{- include "netbox.labels" . | nindent 4 }}
spec:
type: {{ .Values.service.type }}
ports:
- port: {{ .Values.service.port }}
targetPort: http
protocol: TCP
name: http
selector:
{{- include "netbox.selectorLabels" . | nindent 4 }}