add secretsmanager type to plugin.json (#52408)

This commit is contained in:
Michael Mandrus 2022-07-18 11:02:37 -04:00 committed by GitHub
parent 6c89bf53f2
commit 278f5b131b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -14,12 +14,12 @@
"id": { "id": {
"type": "string", "type": "string",
"description": "Unique name of the plugin. If the plugin is published on grafana.com, then the plugin id has to follow the naming conventions.", "description": "Unique name of the plugin. If the plugin is published on grafana.com, then the plugin id has to follow the naming conventions.",
"pattern": "^[0-9a-z]+\\-([0-9a-z]+\\-)?(app|panel|datasource)$" "pattern": "^[0-9a-z]+\\-([0-9a-z]+\\-)?(app|panel|datasource|secretsmanager)$"
}, },
"type": { "type": {
"type": "string", "type": "string",
"description": "Plugin type.", "description": "Plugin type.",
"enum": ["app", "datasource", "panel"] "enum": ["app", "datasource", "panel", "secretsmanager"]
}, },
"name": { "name": {
"type": "string", "type": "string",
@ -68,7 +68,7 @@
}, },
"type": { "type": {
"type": "string", "type": "string",
"enum": ["dashboard", "page", "panel", "datasource"] "enum": ["dashboard", "page", "panel", "datasource", "secretsmanager"]
}, },
"name": { "name": {
"type": "string" "type": "string"
@ -159,11 +159,11 @@
"properties": { "properties": {
"id": { "id": {
"type": "string", "type": "string",
"pattern": "^[0-9a-z]+\\-([0-9a-z]+\\-)?(app|panel|datasource)$" "pattern": "^[0-9a-z]+\\-([0-9a-z]+\\-)?(app|panel|datasource|secretsmanager)$"
}, },
"type": { "type": {
"type": "string", "type": "string",
"enum": ["app", "datasource", "panel"] "enum": ["app", "datasource", "panel", "secretsmanager"]
}, },
"name": { "name": {
"type": "string" "type": "string"