Skip to content

Commit

Permalink
Revert "Customize Grafana annotation and label (#105)" (#108)
Browse files Browse the repository at this point in the history
This reverts commit 089b2dd.
  • Loading branch information
AlexsJones committed May 18, 2023
1 parent 089b2dd commit 49427c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 13 deletions.
6 changes: 2 additions & 4 deletions chart/operator/templates/grafana-k8sgpt-dashboard.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{{ if .Values.grafanaDashboard.enabled -}}
{{ if .Values.grafanaDashboard -}}
apiVersion: v1
kind: ConfigMap
metadata:
annotations:
{{ .Values.grafanaDashboard.folder.annotation }}: {{ .Values.grafanaDashboard.folder.name }}
labels:
{{ .Values.grafanaDashboard.dashboard.label }}: "1"
grafana_dashboard: "1"
app.kubernetes.io/component: configmap
app.kubernetes.io/created-by: k8sgpt-operator
app.kubernetes.io/part-of: k8sgpt-operator
Expand Down
10 changes: 1 addition & 9 deletions chart/operator/values.yaml
Original file line number Diff line number Diff line change
@@ -1,15 +1,7 @@
serviceMonitor:
enabled: false
additionalLabels: {}

grafanaDashboard:
enabled: false
folder:
annotation: grafana_folder
name: ai
dashboard:
label: grafana_dashboard

grafanaDashboard: false
controllerManager:
kubeRbacProxy:
containerSecurityContext:
Expand Down

0 comments on commit 49427c9

Please sign in to comment.