Files
dsk-devops-toolchains/helm/openebs/charts/lvm-localpv/templates/lvm-node-service.yaml
2024-01-03 17:29:11 +09:00

19 lines
464 B
YAML

{{- if .Values.lvmPlugin.metricsPort }}
apiVersion: v1
kind: Service
metadata:
name: {{ template "lvmlocalpv.fullname" . }}-node-service
labels:
{{- include "lvmlocalpv.lvmNode.labels" . | nindent 4 }}
spec:
clusterIP: None
ports:
- name: metrics
port: {{ .Values.lvmPlugin.metricsPort }}
targetPort: {{ .Values.lvmPlugin.metricsPort }}
selector:
{{- with .Values.lvmNode.podLabels }}
{{ toYaml . }}
{{- end }}
{{- end }}