Skip to content

Commit

Permalink
Add Service for ebs-csi-node
Browse files Browse the repository at this point in the history
Signed-off-by: torredil <[email protected]>
  • Loading branch information
torredil committed Nov 7, 2024
1 parent 5927a72 commit ecc7525
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions charts/aws-ebs-csi-driver/templates/metrics.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,21 @@ spec:
interval: {{ .Values.controller.serviceMonitor.interval | default "15s"}}
{{- end }}
{{- end }}
---
{{- if .Values.node.enableMetrics -}}
apiVersion: v1
kind: Service
metadata:
name: ebs-csi-node
namespace: {{ .Release.Namespace }}
labels:
app: ebs-csi-node
spec:
selector:
app: ebs-csi-node
ports:
- name: metrics
port: 3302
targetPort: 3302
type: ClusterIP
{{- end }}

0 comments on commit ecc7525

Please sign in to comment.