From 48c774c64855dca0fc9a149d8dd182805fa9f48d Mon Sep 17 00:00:00 2001 From: Sean Eagan Date: Thu, 20 Jun 2019 14:05:40 -0500 Subject: [PATCH] Support v2 schema versions Previously only v1 were supported, but Armada recently added [0] v2 schemas, so this is needed to support those. [0]: https://airship-armada.readthedocs.io/en/latest/operations/documents/v2/index.html Change-Id: Ib460205c1e9ae7e7360308b8b51f162221c63982 --- deckhand/engine/document_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deckhand/engine/document_validation.py b/deckhand/engine/document_validation.py index 37bd547b..2247d0db 100644 --- a/deckhand/engine/document_validation.py +++ b/deckhand/engine/document_validation.py @@ -33,7 +33,7 @@ from deckhand import types LOG = logging.getLogger(__name__) _DEFAULT_SCHEMAS = {} -_SUPPORTED_SCHEMA_VERSIONS = ('v1',) +_SUPPORTED_SCHEMA_VERSIONS = ('v1', 'v2') def _get_schema_parts(document, schema_key='schema'):