scaffolder: apply review fixes
Co-authored-by: Johan Haals <johan.haals@gmail.com> Co-authored-by: Fredrik Adelöw <freben@gmail.com> Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
@@ -83,6 +83,11 @@
|
||||
"examples": ["service", "website", "library"],
|
||||
"minLength": 1
|
||||
},
|
||||
"owner": {
|
||||
"type": "string",
|
||||
"description": "The user (or group) owner of the template",
|
||||
"minLength": 1
|
||||
},
|
||||
"parameters": {
|
||||
"oneOf": [
|
||||
{
|
||||
@@ -172,11 +177,6 @@
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"owner": {
|
||||
"type": "string",
|
||||
"description": "The user (or group) owner of the template",
|
||||
"minLength": 1
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -32,8 +32,9 @@ describe('templateEntityV1beta3Validator', () => {
|
||||
},
|
||||
spec: {
|
||||
type: 'website',
|
||||
owner: 'team-b',
|
||||
parameters: {
|
||||
required: ['storePath', 'owner'],
|
||||
required: ['owner'],
|
||||
properties: {
|
||||
owner: {
|
||||
type: 'string',
|
||||
@@ -56,7 +57,6 @@ describe('templateEntityV1beta3Validator', () => {
|
||||
output: {
|
||||
fetchUrl: '${{ steps.fetch.output.targetUrl }}',
|
||||
},
|
||||
owner: 'team-b@example.com',
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user