From ed57c30c24304d12ab3b6283f33c377ba8d01af1 Mon Sep 17 00:00:00 2001 From: Michael Derynck Date: Tue, 23 Jul 2024 14:43:28 -0600 Subject: [PATCH] Prepare for changes to OnCall plugin initialization (#4715) # What this PR does Upcoming changes to OnCall plugin initialization will be expecting `grafana_token` from all requests coming from the OnCall plugin. It is not currently used it is being added so the plugin can tolerate the update without errors. ## Checklist - [ ] Unit, integration, and e2e (if applicable) tests updated - [ ] Documentation added (or `pr:no public docs` PR label added if not required) - [ ] Added the relevant release notes label (see labels prefixed w/ `release:`). These labels dictate how your PR will show up in the autogenerated release notes. --- grafana-plugin/src/plugin.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grafana-plugin/src/plugin.json b/grafana-plugin/src/plugin.json index eafdaf1b..58824a43 100644 --- a/grafana-plugin/src/plugin.json +++ b/grafana-plugin/src/plugin.json @@ -143,7 +143,7 @@ "headers": [ { "name": "X-Instance-Context", - "content": "{ \"stack_id\": \"{{ printf \"%.0f\" .JsonData.stackId }}\", \"org_id\": \"{{ printf \"%.0f\" .JsonData.orgId }}\" }" + "content": "{ \"stack_id\": \"{{ printf \"%.0f\" .JsonData.stackId }}\", \"org_id\": \"{{ printf \"%.0f\" .JsonData.orgId }}\", \"grafana_token\": \"{{ .SecureJsonData.grafanaToken }}\" }" }, { "name": "Authorization",