Skip to content

Commit

Permalink
fix: bee servicemonitor enable
Browse files Browse the repository at this point in the history
fixes Error: YAML parse error on bee/templates/servicemonitor.yaml: error converting YAML to JSON: yaml: line 13: mapping values are not allowed in this context
  • Loading branch information
darkobas2 committed Aug 23, 2024
1 parent 6c2b792 commit 7eda7da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion charts/bee/Chart.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
apiVersion: v2
appVersion: 2.1.0
name: bee
version: 0.16.1
version: 0.16.2
kubeVersion: ">=1.19.0-0"
description: Ethereum Swarm Bee Helm chart for Kubernetes
home: https://www.ethswarm.org
Expand Down
6 changes: 3 additions & 3 deletions charts/bee/templates/servicemonitor.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{- if .Values.serviceMonitor.enabled -}}
{{- if .Values.serviceMonitor.enabled }}

---
apiVersion: monitoring.coreos.com/v1
Expand Down Expand Up @@ -30,7 +30,7 @@ spec:
relabelings:
{{ toYaml .Values.serviceMonitor.relabelings | indent 6 }}
{{- end }}
{{- if and .Values.serviceMonitor.enabled .Values.gatewayProxy.enabled -}}
{{- if and .Values.serviceMonitor.enabled .Values.gatewayProxy.enabled }}
- port: gateway-proxy
path: /metrics
{{- if .Values.serviceMonitor.scrapeInterval }}
Expand All @@ -53,4 +53,4 @@ spec:
app: {{ include "bee.name" . }}
release: {{ .Release.Name }}

{{- end -}}
{{- end }}

0 comments on commit 7eda7da

Please sign in to comment.