Provisioning: Allow disabling of instance sync (#111270)
--------- Co-authored-by: Ryan McKinley <ryantxu@gmail.com> Co-authored-by: Alex Khomenko <Clarity-89@users.noreply.github.com>
This commit is contained in:
co-authored by
Ryan McKinley
Alex Khomenko
parent
0ab7488305
commit
cb11bc15fa
@@ -39,6 +39,8 @@ func TestIntegrationProvisioning_InlineSecrets(t *testing.T) {
|
||||
values: map[string]any{
|
||||
"SecureTokenCreate": "some-token",
|
||||
"SecureWebhookSecretCreate": "some-secret",
|
||||
"SyncEnabled": true,
|
||||
"Target": "folder",
|
||||
},
|
||||
inputFile: "testdata/github-with-inline-secrets.json.tmpl",
|
||||
expectedFields: []expectedField{
|
||||
|
||||
@@ -13,6 +13,11 @@
|
||||
"branch": "{{ or .Branch "integration-test" }}",
|
||||
"generateDashboardPreviews": {{ if .GenerateDashboardPreviews }} true {{ else }} false {{ end }},
|
||||
"path": "{{ or .Path "grafana/" }}"
|
||||
},
|
||||
"sync": {
|
||||
"enabled": {{ if .SyncEnabled }} true {{ else }} false {{ end }},
|
||||
"target": "{{ or .Target "folder" }}",
|
||||
"intervalSeconds": {{ or .SyncIntervalSeconds 60 }}
|
||||
}
|
||||
},
|
||||
"secure": {
|
||||
|
||||
Reference in New Issue
Block a user