ungleich-k8s/apps/netbox/templates/service.yaml
2021-10-21 08:38:40 +02:00

15 lines
358 B
YAML

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 }}