diff --git a/components/schemas/environments/services/discovery/DiscoveryConfig.yml b/components/schemas/environments/services/discovery/DiscoveryConfig.yml index 86e58e04..7c5bcb6e 100644 --- a/components/schemas/environments/services/discovery/DiscoveryConfig.yml +++ b/components/schemas/environments/services/discovery/DiscoveryConfig.yml @@ -9,12 +9,16 @@ properties: nullable: true additionalProperties: type: object - properties: - ipv4: + properties: + ipv4: description: The IPv4 address the discovery server should return to any container instance requesting this hostname. - type: string nullable: true - ipv6: + type: array + items: + type: string + ipv6: description: The IPv6 address the discovery server should return to any container instance requesting this hostname. - type: string nullable: true + type: array + items: + type: string diff --git a/components/schemas/stacks/spec/StackSpec.yml b/components/schemas/stacks/spec/StackSpec.yml index ebbe8ef8..e9d00050 100644 --- a/components/schemas/stacks/spec/StackSpec.yml +++ b/components/schemas/stacks/spec/StackSpec.yml @@ -38,6 +38,26 @@ properties: nullable: true type: object properties: + discovery: + type: object + nullable: true + properties: + hosts: + nullable: true + type: object + additionalProperties: + type: object + properties: + ipv4: + nullable: true + type: array + items: + type: string + ipv6: + nullable: true + type: array + items: + type: string loadbalancer: $ref: services/loadbalancer/StackSpecLoadBalancerConfig.yml vpn: