Add service
This commit is contained in:
parent
88f60b92d5
commit
dd80179fc8
15
plexporter/templates/service.yaml
Normal file
15
plexporter/templates/service.yaml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
apiVersion: v1
|
||||||
|
kind: Service
|
||||||
|
metadata:
|
||||||
|
name: {{ include "plexporter.fullname" . }}
|
||||||
|
labels:
|
||||||
|
{{- include "plexporter.labels" . | nindent 4 }}
|
||||||
|
spec:
|
||||||
|
type: {{ .Values.service.type }}
|
||||||
|
ports:
|
||||||
|
- port: {{ .Values.service.port }}
|
||||||
|
targetPort: 9000
|
||||||
|
protocol: TCP
|
||||||
|
name: metrics
|
||||||
|
selector:
|
||||||
|
{{- include "plexporter.selectorLabels" . | nindent 4 }}
|
||||||
Loading…
Reference in New Issue
Block a user