From 0140ed3367febdb90062c8bce61f3c1f79bf0eb9 Mon Sep 17 00:00:00 2001 From: Brad Chisholm Date: Fri, 2 Aug 2024 16:44:53 +0000 Subject: [PATCH] feat: add annotation for external database (PSKD-407) --- roles/vdm/templates/transformers/dataserver-transformer.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/roles/vdm/templates/transformers/dataserver-transformer.yaml b/roles/vdm/templates/transformers/dataserver-transformer.yaml index b34def34..f1cd6df6 100644 --- a/roles/vdm/templates/transformers/dataserver-transformer.yaml +++ b/roles/vdm/templates/transformers/dataserver-transformer.yaml @@ -5,6 +5,10 @@ kind: PatchTransformer metadata: name: {{ dataserver_name }}-dataserver-transformer patch: |- + - op: add + path: "/metadata/annotations/sas.com~1database-server-location" + value: external # Identifies that database server is external + - op: replace path: /spec/databases/0/name value: {{ db }}