Skip to content

Commit

Permalink
chore: Add mandatory-modules dashboard grafana patch
Browse files Browse the repository at this point in the history
  • Loading branch information
c-pius committed Jun 27, 2024
1 parent 36bb009 commit 9dcab25
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions config/control-plane/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,16 @@ transformers:
kind: ConfigMap
name: klm-dashboard-watcher
version: v1
- |-
apiVersion: builtin
kind: PatchTransformer
metadata:
name: fix-dashboard-mandatory-modules-cm
patch: '[{"op": "replace", "path": "/metadata/namespace", "value": "kyma-system"}, {"op": "add", "path": "/metadata/labels/grafana_dashboard", "value": "1"}]'
target:
kind: ConfigMap
name: klm-dashboard-mandatory-modules
version: v1
- |-
apiVersion: builtin
kind: PatchTransformer
Expand Down
2 changes: 1 addition & 1 deletion config/grafana/mandatory-modules.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"list": [
{
"builtIn": 1,
"datasource": "-- Plutono --",
"datasource": "-- Grafana --",
"enable": true,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
Expand Down

0 comments on commit 9dcab25

Please sign in to comment.