diff --git a/docs/content/bundle/manifest/file-format/1.0.0-alpha.1.md b/docs/content/bundle/manifest/file-format/1.0.0-alpha.1.md index b8225b58d..6610a3be2 100644 --- a/docs/content/bundle/manifest/file-format/1.0.0-alpha.1.md +++ b/docs/content/bundle/manifest/file-format/1.0.0-alpha.1.md @@ -7,7 +7,6 @@ Bundle manifest file format version 1.0.0-alpha.1 is compatible with v1.0.0-alph ## Example ```yaml -schemaType: Bundle schemaVersion: 1.0.0 name: myapp version: 1.0.0 @@ -140,7 +139,6 @@ status: | Field | Required | Description | |----------------------------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| schemaType | false | The type of document. This isn't used by Porter but is included when Porter outputs the file, so that editors can determine the resource type. | | schemaVersion | true | The version of the Bundle schema used in this file. | | name | true | The name of the bundle. | | version | true | The version of the bundle, must adhere to [semver v2].
The bundle tag defaults to the version with a v prefix, e.g. mybundle:v1.0.0. Use --tag or the reference field to override. | diff --git a/docs/content/bundle/manifest/file-format/_index.md b/docs/content/bundle/manifest/file-format/_index.md index dfdf959d6..99609f0a7 100644 --- a/docs/content/bundle/manifest/file-format/_index.md +++ b/docs/content/bundle/manifest/file-format/_index.md @@ -21,6 +21,8 @@ Below are schema versions for the Porter manifest, and the corresponding Porter | Bundle | [1.0.0-alpha.1](./1.0.0-alpha.1/) | v1.0.0-alpha.14+ | | Bundle | [1.0.0](./1.0.0/) | v1.0.0-beta.2+ | +🚨 The schemaType field is not yet supported on porter.yaml files, setting it will cause an error. + Starting with schemaVersion 1.0.0, the template delimiter was changed to `${ }` from `{{ }}` to avoid compatibility and escaping problems with YAML. Template delimiters are no longer required to be in quoted strings, and can now be used to inject non-string types, such as booleans or numbers. @@ -32,7 +34,6 @@ The [schema-check] configuration setting allows you to change how Porter behaves ## Example ```yaml -schemaType: Bundle schemaVersion: 1.0.0 name: myapp version: 1.0.0 @@ -165,7 +166,6 @@ status: | Field | Required | Description | |----------------------------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| schemaType | false | The type of document. This isn't used by Porter but is included when Porter outputs the file, so that editors can determine the resource type. | | schemaVersion | true | The version of the Bundle schema used in this file. | | name | true | The name of the bundle. | | version | true | The version of the bundle, must adhere to [semver v2].
The bundle tag defaults to the version with a v prefix, e.g. mybundle:v1.0.0. Use --tag or the reference field to override. | diff --git a/pkg/porter/testdata/schema.json b/pkg/porter/testdata/schema.json index bc878baf0..d5fa1fcdd 100644 --- a/pkg/porter/testdata/schema.json +++ b/pkg/porter/testdata/schema.json @@ -768,11 +768,6 @@ "type": "array", "uniqueItems": true }, - "schemaType": { - "default": "Bundle", - "description": "The resource type of the current document.", - "type": "string" - }, "schemaVersion": { "description": "The version of the schema used in this file", "type": "string" diff --git a/pkg/schema/manifest.schema.json b/pkg/schema/manifest.schema.json index 741d6003c..23619b87f 100644 --- a/pkg/schema/manifest.schema.json +++ b/pkg/schema/manifest.schema.json @@ -284,11 +284,6 @@ } }, "properties": { - "schemaType": { - "description": "The resource type of the current document.", - "type": "string", - "default": "Bundle" - }, "schemaVersion": { "description": "The version of the schema used in this file", "type": "string" diff --git a/tests/integration/testdata/schema/schema.json b/tests/integration/testdata/schema/schema.json index bc878baf0..d5fa1fcdd 100644 --- a/tests/integration/testdata/schema/schema.json +++ b/tests/integration/testdata/schema/schema.json @@ -768,11 +768,6 @@ "type": "array", "uniqueItems": true }, - "schemaType": { - "default": "Bundle", - "description": "The resource type of the current document.", - "type": "string" - }, "schemaVersion": { "description": "The version of the schema used in this file", "type": "string"