Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow to provision additional Grafana datasources #361

Merged
merged 1 commit into from
Nov 26, 2019

Conversation

Infra-Red
Copy link
Contributor

Opsfile example:

- type: replace
  path: /instance_groups/name=grafana/jobs/name=grafana/properties/grafana/datasources?/delete
  value:
    - name: Cloudwatch
      orgId: 1

- type: replace
  path: /instance_groups/name=grafana/jobs/name=grafana/properties/grafana/datasources?/create
  value:
    - name: Cloudwatch
      type: cloudwatch
      orgId: 1
      jsonData:
        authType: keys
        defaultRegion: eu-central-1
      secureJsonData:
        accessKey: "<my-access-key>"
        secretKey: "<my-secret-key>"

@frodenas frodenas merged commit e3282f6 into cloudfoundry:master Nov 26, 2019
@frodenas
Copy link
Contributor

Thanks @Infra-Red!

@Infra-Red Infra-Red deleted the grafana-datasources branch November 27, 2019 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants