Provisioning: Add inline secure values to repository schema (#109594)
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
{
|
||||
"apiVersion": "provisioning.grafana.app/v0alpha1",
|
||||
"kind": "Repository",
|
||||
"metadata": {
|
||||
"generateName": "test-"
|
||||
},
|
||||
"spec": {
|
||||
"title": "title",
|
||||
"description": "something",
|
||||
"type": "github",
|
||||
"github": {
|
||||
"url": "{{ or .URL "https://github.com/grafana/grafana-git-sync-demo" }}",
|
||||
"branch": "{{ or .Branch "integration-test" }}",
|
||||
"generateDashboardPreviews": {{ if .GenerateDashboardPreviews }} true {{ else }} false {{ end }},
|
||||
"token": "{{ or .Token "" }}",
|
||||
"path": "{{ or .Path "grafana/" }}"
|
||||
}
|
||||
},
|
||||
"secure": {
|
||||
"token": { "create": "{{ or .SecureTokenCreate "" }}" },
|
||||
"webhookSecret": { "create": "{{ or .SecureWebhookSecretCreate "" }}" }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user