d39a47a89b
- Provisioning: Begin using secrets store - Refactor integration with secrets store - Add back the legacy service - Separate concerns for encrypt and decrypt - Handle update within Encrypt function - Add interface for secure value service - Add feature flag for using secrets service - Add the dual service for temporary solution. * Add first integration tests for encrypted tokens * Add integration test for app platform secrets * Validate it has the name or not * Create wire provider * Always save to the secret if provided secret --------- Co-authored-by: Roberto Jimenez Sanchez <roberto.jimenez@grafana.com> Co-authored-by: Roberto Jiménez Sánchez <jszroberto@gmail.com>
25 lines
879 B
Cheetah
25 lines
879 B
Cheetah
{
|
|
"apiVersion": "provisioning.grafana.app/v0alpha1",
|
|
"kind": "Repository",
|
|
"metadata": {
|
|
"name": "{{ or .Name "git-repository" }}"
|
|
},
|
|
"spec": {
|
|
"title": "{{ or .Title .Name "Git repository" }}",
|
|
"description": "{{ or .Description .Name "Load grafana dashboard from fake repository" }}",
|
|
"type": "git",
|
|
"git": {
|
|
"url": "{{ or .URL "https://github.com/grafana/grafana-git-sync-demo" }}",
|
|
"branch": "{{ or .Branch "integration-test" }}",
|
|
"token": "{{ or .Token "" }}",
|
|
"path": "{{ or .Path "grafana/" }}"
|
|
},
|
|
"sync": {
|
|
"enabled": {{ if .SyncEnabled }} true {{ else }} false {{ end }},
|
|
"target": "{{ or .SyncTarget "folder" }}",
|
|
"intervalSeconds": {{ or .SyncIntervalSeconds 60 }}
|
|
},
|
|
"workflows": []
|
|
}
|
|
}
|