-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add schema for expecteddeploymentscale CRD under a different filename
- Loading branch information
ayoub mrini
committed
Oct 22, 2019
1 parent
538508c
commit c0a8c35
Showing
1 changed file
with
92 additions
and
0 deletions.
There are no files selected for viewing
92 changes: 92 additions & 0 deletions
92
v1.14.0-standalone/expecteddeploymentscale-wiremind-v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"definitions": {}, | ||
"$schema": "http://json-schema.org/draft-07/schema#", | ||
"$id": "http://example.com/root.json", | ||
"type": "object", | ||
"title": "The Root Schema", | ||
"required": [ | ||
"apiVersion", | ||
"kind", | ||
"metadata", | ||
"spec" | ||
], | ||
"properties": { | ||
"apiVersion": { | ||
"$id": "#/properties/apiVersion", | ||
"type": "string", | ||
"title": "The Apiversion Schema", | ||
"default": "", | ||
"examples": [ | ||
"wiremind.fr/v1" | ||
], | ||
"pattern": "^(.*)$" | ||
}, | ||
"kind": { | ||
"$id": "#/properties/kind", | ||
"type": "string", | ||
"title": "The Kind Schema", | ||
"default": "", | ||
"examples": [ | ||
"ExpectedDeploymentScale" | ||
], | ||
"pattern": "^(.*)$" | ||
}, | ||
"metadata": { | ||
"$id": "#/properties/metadata", | ||
"type": "object", | ||
"title": "The Metadata Schema", | ||
"required": [ | ||
"name", | ||
"labels" | ||
], | ||
"properties": { | ||
"name": { | ||
"$id": "#/properties/metadata/properties/name", | ||
"type": "string", | ||
"title": "The Name Schema", | ||
"default": "", | ||
"examples": [ | ||
"cayzn-live-production-celery-etl-normal" | ||
], | ||
"pattern": "^(.*)$" | ||
}, | ||
"labels": { | ||
"$id": "#/properties/metadata/properties/labels", | ||
"type": "object", | ||
"title": "The Labels Schema" | ||
} | ||
} | ||
}, | ||
"spec": { | ||
"$id": "#/properties/spec", | ||
"type": "object", | ||
"title": "The Spec Schema", | ||
"required": [ | ||
"deploymentName", | ||
"expectedScale" | ||
], | ||
"properties": { | ||
"deploymentName": { | ||
"$id": "#/properties/spec/properties/deploymentName", | ||
"type": "string", | ||
"title": "The Deploymentname Schema", | ||
"default": "", | ||
"examples": [ | ||
"cayzn-live-production-celery-etl-normal" | ||
], | ||
"pattern": "^(.*)$" | ||
}, | ||
"expectedScale": { | ||
"$id": "#/properties/spec/properties/expectedScale", | ||
"type": "integer", | ||
"title": "The Expectedscale Schema", | ||
"default": 0, | ||
"examples": [ | ||
1 | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|