Provisioning: Use repository view rather than raw config (#103449)

This commit is contained in:
Ryan McKinley
2025-04-07 09:39:31 +03:00
committed by GitHub
parent 8cd6f837a5
commit 8dbaeac9da
22 changed files with 233 additions and 235 deletions
@@ -3229,9 +3229,9 @@
"required": [
"name",
"title",
"readOnly",
"type",
"target"
"target",
"workflows"
],
"properties": {
"name": {
@@ -3239,11 +3239,6 @@
"type": "string",
"default": ""
},
"readOnly": {
"description": "Edit options within the repository",
"type": "boolean",
"default": false
},
"target": {
"description": "When syncing, where values are saved\n\nPossible enum values:\n - `\"folder\"` Resources will be saved into a folder managed by this repository It will contain a copy of everything from the remote The folder k8s name will be the same as the repository k8s name\n - `\"instance\"` Resources are saved in the global context Only one repository may specify the `instance` target When this exists, the UI will promote writing to the instance repo rather than the grafana database (where possible)",
"type": "string",
@@ -3266,6 +3261,18 @@
"github",
"local"
]
},
"workflows": {
"description": "The supported workflows",
"type": "array",
"items": {
"type": "string",
"default": "",
"enum": [
"branch",
"write"
]
}
}
}
},