Add external_image_storage S3 in grafana config
This commit is contained in:
parent
1edab47392
commit
c831457f60
2 changed files with 22 additions and 0 deletions
|
@ -288,3 +288,17 @@ path = {{ server.dashboards.path }}
|
|||
;enabled = false
|
||||
;path = /var/lib/grafana/dashboards
|
||||
{%- endif %}
|
||||
|
||||
|
||||
#################################### External Image Storage ##############
|
||||
[external_image_storage]
|
||||
# You can choose between (s3, webdav, gcs)
|
||||
provider = {{ server.external_image_storage.provider }}
|
||||
|
||||
[external_image_storage.s3]
|
||||
bucket_url = {{ server.external_image_storage.provider.bucket_url }}
|
||||
bucket = {{ server.external_image_storage.provider.bucket }}
|
||||
region = {{ server.external_image_storage.provider.region }}
|
||||
path = {{ server.external_image_storage.provider.path }}
|
||||
access_key = {{ server.external_image_storage.provider.access_key }}
|
||||
secret_key = {{ server.external_image_storage.provider.secret_key }}
|
||||
|
|
|
@ -48,6 +48,14 @@ Debian:
|
|||
static: /usr/share/grafana/public
|
||||
dashboards:
|
||||
enabled: false
|
||||
external_image_storage:
|
||||
provider: ""
|
||||
bucket_url: ""
|
||||
bucket: ""
|
||||
region: ""
|
||||
path: ""
|
||||
access_key: ""
|
||||
secret_key: ""
|
||||
{%- endload %}
|
||||
|
||||
{%- set server = salt['grains.filter_by'](server_defaults, merge=salt['pillar.get']('grafana:server')) %}
|
||||
|
|
Loading…
Reference in a new issue