如何在grafana中允许所有主机使用无限数据源。我的数据源配置映射的 json 是
kubectl describe configmap grafana-app-config-datasource -n grafana
Name: grafana-app-config-datasource
Namespace: grafana
Labels: <none>
Annotations: <none>
Data
====
influxdb-datasource.yml:
----
# config file version
apiVersion: 1
datasources:
- name: infuxdb
type: "influxdb"
access: "proxy"
url: "http://influxdb2-abcd-service:8085"
editable: true
secureJsonData:
token: "7hgdfhgfhghghghMMJkbkylrGlwfXTS"
jsonData:
version: Flux
organization: "fgfgfg450"
defaultBucket: xyz-bucket
tlsSkipVerify: true
timeInterval: "1m"
- uid: "Z_L7ZejIz"
orgId: 1
name: "Infinity"
type: "yesoreyeram-infinity-datasource"
url: ""
basicAuth: false
basicAuthUser: ""
isDefault: false
jsonData:
auth_method: "bearerToken"
global_queries: []
allowedHosts: "*"
oauthPassThru: false
version: 2
readOnly: false
secureJsonData:
bearerToken: "hhjy-hfjfhfghhfgid6ZzDXlhjhfjhfjhfjhfjfhjwrw"
Events: <none>
我认为它不接受 allowedHosts:“*”如何允许所有主机,我收到错误数据源缺少允许的主机/URL,在数据源设置页面中配置它以增强安全性