-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add built-in and Helm storage Types, adjust validation manifests (#57)
- Loading branch information
Showing
4 changed files
with
111 additions
and
8 deletions.
There are no files selected for viewing
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,39 @@ | ||
ocfVersion: 0.0.1 | ||
revision: 0.1.0 | ||
kind: Type | ||
metadata: | ||
name: neo4j | ||
prefix: cap.core.type.hub.storage | ||
displayName: Built-in Local Hub storage | ||
description: Built-in Local Hub storage in which static data can be stored. | ||
documentationURL: https://capact.io/docs | ||
supportURL: https://capact.io | ||
maintainers: | ||
- email: [email protected] | ||
name: Capact Dev Team | ||
url: https://capact.io | ||
spec: | ||
jsonSchema: | ||
value: |- | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"type": "object", | ||
"title": "The root schema for built-in Local Hub storage", | ||
"required": [ | ||
"acceptValue", | ||
"contextSchema" | ||
], | ||
"properties": { | ||
"contextSchema": { | ||
"$id": "#/properties/contextSchema", | ||
"type": "null", | ||
"const": null | ||
}, | ||
"acceptValue": { | ||
"$id": "#/properties/acceptValue", | ||
"type": "boolean", | ||
"const": false | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |
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
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
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,64 @@ | ||
ocfVersion: 0.0.1 | ||
revision: 0.1.0 | ||
kind: Type | ||
metadata: | ||
name: storage | ||
prefix: cap.type.helm | ||
displayName: Helm chart storage | ||
description: Describes Helm storage | ||
documentationURL: https://helm.sh/docs | ||
supportURL: https://helm.sh | ||
maintainers: | ||
- email: [email protected] | ||
name: Capact Dev Team | ||
url: https://capact.io | ||
|
||
spec: | ||
additionalRefs: | ||
- cap.core.type.hub.storage | ||
jsonSchema: | ||
value: |- | ||
{ | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"type": "object", | ||
"title": "The root schema", | ||
"required": [ | ||
"url", | ||
"contextSchema", | ||
"acceptValue" | ||
], | ||
"properties": { | ||
"url": { | ||
"$id": "#/properties/url", | ||
"type": "string", | ||
"format": "uri" | ||
}, | ||
"contextSchema": { | ||
"const": { | ||
"$schema": "http://json-schema.org/draft-07/schema", | ||
"type": "object", | ||
"required": [ | ||
"name", | ||
"namespace" | ||
], | ||
"properties": { | ||
"name": { | ||
"$id": "#/properties/context/properties/name", | ||
"type": "string" | ||
}, | ||
"namespace": { | ||
"$id": "#/properties/context/properties/namespace", | ||
"type": "string" | ||
} | ||
}, | ||
"additionalProperties": false | ||
} | ||
}, | ||
"acceptValue": { | ||
"$id": "#/properties/acceptValue", | ||
"type": "boolean", | ||
"const": true | ||
} | ||
}, | ||
"additionalProperties": false | ||
} |