Skip to content

Commit

Permalink
Fix document separator for grafana-dashboards
Browse files Browse the repository at this point in the history
  • Loading branch information
glenndehaan committed Nov 22, 2022
1 parent 6bc022e commit 0a897c5
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion charts/grafana-dashboards/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ type: application
# This is the chart version. This version number should be incremented each time you make changes
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)
version: 1.0.0
version: 1.0.1

# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
Expand Down
14 changes: 7 additions & 7 deletions charts/grafana-dashboards/templates/configmap.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{{- if .Values.dashboards.redis -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -10,10 +9,10 @@ metadata:
data:
redis.json: |-
{{ .Files.Get "dashboards/redis.json" | indent 4 }}
---
{{- end }}

{{- if .Values.dashboards.traefik -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -24,10 +23,10 @@ metadata:
data:
traefik.json: |-
{{ .Files.Get "dashboards/traefik.json" | indent 4 }}
---
{{- end }}

{{- if .Values.dashboards.certManager -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -38,10 +37,10 @@ metadata:
data:
cert-manager.json: |-
{{ .Files.Get "dashboards/cert-manager.json" | indent 4 }}
---
{{- end }}

{{- if .Values.dashboards.loki -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -52,8 +51,8 @@ metadata:
data:
loki-logs-overview.json: |-
{{ .Files.Get "dashboards/loki-logs-overview.json" | indent 4 }}

---

apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -64,8 +63,8 @@ metadata:
data:
loki-loki-promtail-stats.json: |-
{{ .Files.Get "dashboards/loki-loki-promtail-stats.json" | indent 4 }}

---

apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -76,10 +75,10 @@ metadata:
data:
loki-global-metrics.json: |-
{{ .Files.Get "dashboards/loki-global-metrics.json" | indent 4 }}
---
{{- end }}

{{- if .Values.dashboards.crowdsec -}}
---
apiVersion: v1
kind: ConfigMap
metadata:
Expand All @@ -90,4 +89,5 @@ metadata:
data:
crowdsec-overview.json: |-
{{ .Files.Get "dashboards/crowdsec-overview.json" | indent 4 }}
---
{{- end }}

0 comments on commit 0a897c5

Please sign in to comment.