Skip to content

Commit

Permalink
🚀 feat(grafana-k8sgpt-dashboard.yaml): add namespace field to metadata
Browse files Browse the repository at this point in the history
The namespace field is added to the metadata section of the Grafana dashboard YAML file. This allows the dashboard to be created in the specified namespace, which improves organization and management of the dashboard.
  • Loading branch information
MateSousa committed Jun 23, 2023
1 parent 062c81b commit 200d44f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chart/operator/templates/grafana-k8sgpt-dashboard.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ metadata:
app.kubernetes.io/part-of: k8sgpt-operator
{{- include "chart.labels" . | nindent 4 }}
name: k8sgpt-overview
namespace: {{ .Values.grafanaDashboard.namespace }}
data:
k8sgpt-overview.json: |
{{ .Files.Get "dashboards/k8sgpt-overview.json" | indent 4}}
Expand Down

0 comments on commit 200d44f

Please sign in to comment.