Schema updates
This PS fixes the schema validation by adding specific schema draft to choose in order to prevent the processor to fall back to use the latest draft that may potentially cause issues. Also switch base ubuntu image repo to quay.io/airshipit Change-Id: Id00db3846d086c84bd179dac90ac7b9b15e4b35a
This commit is contained in:
parent
4d500e48e8
commit
211b2d20c0
deckhand
engine/schemas
base_schema.yamlcertificate_authority_key_schema.yamlcertificate_authority_schema.yamlcertificate_key_schema.yamlcertificate_schema.yamllayering_policy_schema.yamlmetadata_control.yamlmetadata_document.yamlpassphrase_schema.yamlprivate_key_schema.yamlpublic_key_schema.yamlvalidation_policy_schema.yaml
tests/functional/gabbits/resources
images/deckhand
@ -18,7 +18,7 @@ metadata:
|
||||
name: deckhand/Base/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
properties:
|
||||
schema:
|
||||
type: string
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/CertificateAuthorityKey/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/CertificateAuthority/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/CertificateKey/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/Certificate/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,7 +18,7 @@ metadata:
|
||||
name: deckhand/LayeringPolicy/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
layerOrder:
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
name: metadata/Control/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
schema:
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
name: metadata/Document/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
definitions:
|
||||
parent_selector_requires_actions:
|
||||
dependencies:
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/Passphrase/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/PrivateKey/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,5 +18,5 @@ metadata:
|
||||
name: deckhand/PublicKey/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -18,7 +18,7 @@ metadata:
|
||||
name: deckhand/ValidationPolicy/v1
|
||||
schema: metadata/Control/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
validations:
|
||||
|
@ -218,7 +218,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/CertificateAuthority/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: deckhand/DataSchema/v1
|
||||
@ -226,7 +226,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/CertificateAuthorityKey/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: deckhand/DataSchema/v1
|
||||
@ -234,7 +234,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/Certificate/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: deckhand/DataSchema/v1
|
||||
@ -242,7 +242,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/CertificateKey/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: deckhand/DataSchema/v1
|
||||
@ -250,7 +250,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/PublicKey/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: deckhand/DataSchema/v1
|
||||
@ -258,7 +258,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/PrivateKey/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: deckhand/DataSchema/v1
|
||||
@ -266,5 +266,5 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: deckhand/Passphrase/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
|
@ -13,7 +13,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: unusual/DictWithSecret/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
secret:
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: example/Doc/v2
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
a:
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: example/Doc/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
a:
|
||||
|
@ -6,7 +6,7 @@ metadata:
|
||||
labels:
|
||||
application: promenade
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
definitions:
|
||||
cidr:
|
||||
type: string
|
||||
|
@ -4,7 +4,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: unusual/List/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
@ -27,7 +27,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: unusual/DictWithSecret/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: object
|
||||
properties:
|
||||
secret:
|
||||
@ -56,7 +56,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: unusual/String/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: string
|
||||
---
|
||||
schema: unusual/String/v1
|
||||
@ -74,7 +74,7 @@ metadata:
|
||||
schema: metadata/Control/v1
|
||||
name: unusual/Integer/v1
|
||||
data:
|
||||
$schema: http://json-schema.org/schema#
|
||||
$schema: http://json-schema.org/draft-04/schema#
|
||||
type: integer
|
||||
---
|
||||
schema: unusual/Integer/v1
|
||||
|
@ -18,7 +18,7 @@
|
||||
# 429 Too Many Requests - Server message: too many requests:
|
||||
# You have reached your pull rate limit.
|
||||
# You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
|
||||
ARG FROM=public.ecr.aws/docker/library/ubuntu:jammy
|
||||
ARG FROM=quay.io/airshipit/ubuntu:jammy
|
||||
FROM ${FROM}
|
||||
|
||||
LABEL org.opencontainers.image.authors='airship-discuss@lists.airshipit.org, irc://#airshipit@freenode'
|
||||
|
Loading…
x
Reference in New Issue
Block a user