feat(config.json): füge admin-Konfiguration mit Token-Management hinzu
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -25,7 +25,9 @@
|
||||
"imageUrl": {
|
||||
"description": "project's teaser image url shown in admin ui",
|
||||
"oneOf": [
|
||||
{ "type": "string" },
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"$ref": "definitions.json#/definitions/evalObject"
|
||||
}
|
||||
@@ -124,7 +126,33 @@
|
||||
"description": "max age in seconds"
|
||||
}
|
||||
}
|
||||
},
|
||||
"admin": {
|
||||
"type": "object",
|
||||
"description": "admin configuration",
|
||||
"additionalProperties": false,
|
||||
"properties": {
|
||||
"tokens": {
|
||||
"type": "array",
|
||||
"description": "list of admin tokens",
|
||||
"items": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"token": {
|
||||
"type": "string",
|
||||
"description": "admin token"
|
||||
},
|
||||
"allowReload": {
|
||||
"type": "boolean",
|
||||
"description": "allow reload"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": ["namespace"]
|
||||
}
|
||||
"required": [
|
||||
"namespace"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user