You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I have the following problem: I have installed Grafana with integr8ly Version 3.5.0 (grafana-operator) in Openshift4.4.10. Everything works fine! But when I try to install a Grafana-Datasource to bind AZURE the configmap "grafana-datasources" has emtpy json values. In the custom resource definition the yaml values are still present! I using this yaml file:
apiVersion: integreatly.org/v1alpha1
kind: GrafanaDataSource
metadata:
name: ciot
namespace: grafana
spec:
datasources:
- access: proxy
editable: true
secureJsonData:
clientSecret: XXXXX
name: AzureMonitoring2
url: /api/datasources/proxy/2
jsonData:
azureLogAnalyticsSameAs: true
clientId: XXXX
cloudName: azuremonitor
logAnalyticsDefaultWorkspace: XXXXXX
subscriptionId: XXXX
tenantId: XXXXXX
version: 7
type: grafana-azure-monitor-datasource
orgId: 1
name: azuremonitor.yml
This produces the following configmap (grafana-datasources):
apiVersion: 1
datasources:
This is similar to #220, json fields have to be whitelisted specifically. Can you give me a list of additional fields you want to be able to add to the jsonData and secureJsonData objects? Then i'll add them to the struct in the next version.
Hi, thanks for fast reply. I need the following objects:
jsonData: azureLogAnalyticsSameAs:
clientId:
cloudName:
logAnalyticsDefaultWorkspace:
subscriptionId:
tenantId:
And :
secureJsonData: clientSecret:
Hi,
I have the following problem: I have installed Grafana with integr8ly Version 3.5.0 (grafana-operator) in Openshift4.4.10. Everything works fine! But when I try to install a Grafana-Datasource to bind AZURE the configmap "grafana-datasources" has emtpy json values. In the custom resource definition the yaml values are still present! I using this yaml file:
apiVersion: integreatly.org/v1alpha1
kind: GrafanaDataSource
metadata:
name: ciot
namespace: grafana
spec:
datasources:
- access: proxy
editable: true
secureJsonData:
clientSecret: XXXXX
name: AzureMonitoring2
url: /api/datasources/proxy/2
jsonData:
azureLogAnalyticsSameAs: true
clientId: XXXX
cloudName: azuremonitor
logAnalyticsDefaultWorkspace: XXXXXX
subscriptionId: XXXX
tenantId: XXXXXX
version: 7
type: grafana-azure-monitor-datasource
orgId: 1
name: azuremonitor.yml
This produces the following configmap (grafana-datasources):
apiVersion: 1
datasources:
editable: true
jsonData: {}
name: AzureMonitoring2
orgId: 1
secureJsonData: {}
type: grafana-azure-monitor-datasource
url: /api/datasources/proxy/2
version: 7
As you can see, the Json Data is empty. When I add the json values by hand (temp solution) all works fine.
PS: Leading spaces in the yaml files were removed in this ticket - so please ignore this ;-)
Kind regards Ralf
The text was updated successfully, but these errors were encountered: