Initial commit
This commit is contained in:
18
charts/lvm-localpv/templates/lvm-node-service.yaml
Normal file
18
charts/lvm-localpv/templates/lvm-node-service.yaml
Normal file
@@ -0,0 +1,18 @@
|
||||
{{- 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 . | nindent 4 }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user