mirror of
https://github.com/Microsoft/sql-server-samples.git
synced 2025-12-08 14:58:54 +00:00
Merge pull request #629 from NelGson/patch-7
Updated endpoint patch - RC1
This commit is contained in:
+13
-14
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user