summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLev Morgan <lm734y@att.com>2019-02-13 20:00:32 -0600
committerLev Morgan <lm734y@att.com>2019-02-13 20:00:32 -0600
commitaf8016511ae14d7e3879d1035f453c306c018189 (patch)
tree17a327d45cc1c61b6dc9cbd9e457d7a67c5e441a
parent4b00a4340c65280177b4efd7d2430e06258e964e (diff)
Fixed metadata schema for managed documentsHEADmaster
Metadata schema for managed documents should now be metadata/Document/v1, not deckhand/Document/v1. Change-Id: Id500fc7d5b68a4c296848c07a9644f375e949289
Notes
Notes (review): Code-Review+2: Felipe Monteiro <felipe.monteiro@att.com> Code-Review+1: Stacey Fletcher <staceylynnfletcher@gmail.com> Code-Review+1: Alexander Hughes <Alexander.Hughes@pm.me> Code-Review+2: Matt McEuen <matt.mceuen@att.com> Workflow+1: Matt McEuen <matt.mceuen@att.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Tue, 19 Feb 2019 21:28:58 +0000 Reviewed-on: https://review.openstack.org/637990 Project: openstack/airship-pegleg Branch: refs/heads/master
-rw-r--r--pegleg/engine/util/pegleg_managed_document.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pegleg/engine/util/pegleg_managed_document.py b/pegleg/engine/util/pegleg_managed_document.py
index fe05945..470315c 100644
--- a/pegleg/engine/util/pegleg_managed_document.py
+++ b/pegleg/engine/util/pegleg_managed_document.py
@@ -78,7 +78,7 @@ class PeglegManagedSecretsDocument(object):
78 'schema': PEGLEG_MANAGED_SCHEMA, 78 'schema': PEGLEG_MANAGED_SCHEMA,
79 'metadata': { 79 'metadata': {
80 'name': secrets_document['metadata']['name'], 80 'name': secrets_document['metadata']['name'],
81 'schema': 'deckhand/Document/v1', 81 'schema': 'metadata/Document/v1',
82 'labels': secrets_document['metadata'].get('labels', {}), 82 'labels': secrets_document['metadata'].get('labels', {}),
83 'layeringDefinition': { 83 'layeringDefinition': {
84 'abstract': False, 84 'abstract': False,