- Navigate to the dashboard in Grafana
- Click blue "Share" button at the top
- Select the "Export" tab
- Click on "View JSON"
- Click "Copy to Clipboard"
- Create a new file in your repository and copy the following snippet into it:
apiVersion: v1
kind: ConfigMap