Files
grafana/pkg/tests/apis/provisioning/testdata/github-with-inline-secrets.json.tmpl
T

24 lines
797 B
Cheetah

{
"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 "" }}" }
}
}