From e77e030f09ec69979e081b1d76f33cf5b7ec1933 Mon Sep 17 00:00:00 2001 From: NelGson Date: Wed, 4 Sep 2019 13:35:19 -0700 Subject: [PATCH] Updated endpoint patch - RC1 --- .../endpoint-patch.json | 27 +++++++++---------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm-ad/endpoint-patch.json b/samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm-ad/endpoint-patch.json index a2b713fc..6afcb15f 100644 --- a/samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm-ad/endpoint-patch.json +++ b/samples/features/sql-big-data-cluster/deployment/kubeadm/ubuntu-single-node-vm-ad/endpoint-patch.json @@ -1,20 +1,19 @@ { "patch": [ { - "op": "replace", - "path": "spec.pools[?(@.spec.type=='Master')].spec", - "value": { - "type": "Master", - "dnsName": "mastersql.contoso.local", - "replicas": 1, - "endpoints": [ - { - "name": "Master", - "serviceType": "NodePort", - "port": 31433 - } - ] - } + "op": "add", + "path": "spec.resources.master.spec.endpoints[0].dnsName", + "value": "mastersql.contoso.local" + }, + { + "op": "add", + "path": "spec.resources.gateway.spec.endpoints[0].dnsName", + "value": "knox.contoso.local" + }, + { + "op": "add", + "path": "spec.resources.appproxy.spec.endpoints[0].dnsName", + "value": "app.contoso.local" } ] }