From 5fcb1040650d55f4c63ba6535be4a920b869574b Mon Sep 17 00:00:00 2001 From: Alexander Mattoni <5110855+mattoni@users.noreply.github.com> Date: Mon, 3 Feb 2025 15:30:54 -0800 Subject: [PATCH] Add virtual machine support to dns records --- .../schemas/dns/records/RecordTypes.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/components/schemas/dns/records/RecordTypes.yml b/components/schemas/dns/records/RecordTypes.yml index b36987ab..9e1966ac 100644 --- a/components/schemas/dns/records/RecordTypes.yml +++ b/components/schemas/dns/records/RecordTypes.yml @@ -153,6 +153,25 @@ properties: container_id: type: string description: The ID of the container this record is related to. + + - type: object + required: + - virtual_machine + properties: + virtual_machine: + type: object + required: + - id + - dmz + properties: + id: + $ref: ../../ID.yml + dmz: + type: boolean + description: | + If true, traffic to this domain will skip the load balancer and go directly to the virtual machine + via the gateway service. + - type: object properties: deployment: