Skip to content

Commit

Permalink
excluse headless service from servicemonitor
Browse files Browse the repository at this point in the history
  • Loading branch information
himaster committed Nov 29, 2024
1 parent 40ebbd6 commit d794803
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ipfs-cluster/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: 1.0.6
description: IPFS Cluster Chart
name: ipfs-cluster
version: 0.0.29
version: 0.0.30
home: https://ipfscluster.io/
keywords:
- ipfs
Expand Down
1 change: 1 addition & 0 deletions ipfs-cluster/templates/service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ metadata:
name: {{ include "ipfs-cluster.serviceNameLocal" . }}
labels:
node: {{ .Release.Name }}
servicemonitor: "true"
spec:
ports:
- name: api
Expand Down
1 change: 1 addition & 0 deletions ipfs-cluster/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,5 @@ spec:
selector:
matchLabels:
node: {{ .Release.Name }}
servicemonitor: "true"
{{- end }}

0 comments on commit d794803

Please sign in to comment.