Skip to content

Commit 6e8ea80

Browse files
committed
Change June release data controller command
1 parent c8f7570 commit 6e8ea80

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

samples/features/azure-arc/deployment/kubeadm/ubuntu-single-node-vm/setup-controller.sh

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/bash
1+
#!/bin/bash
22

33
# Get controller username and password as input. It is used as default for the controller.
44
#
@@ -334,12 +334,8 @@ echo "Starting to deploy azdata cluster..."
334334
# Command to create cluster for single node cluster.
335335
#
336336
azdata arc dc config init -s azure-arc-kubeadm-private-preview -t azure-arc-custom --force
337-
azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values '$.spec.dataController.displayName=$ARC_DC_NAME'
338-
azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values '$.spec.dataController.subscription=$ARC_DC_SUBSCRIPTION'
339-
azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values '$.spec.dataController.resourceGroup=$ARC_DC_RG'
340-
azdata arc dc config replace --config-file azure-arc-custom/control.json --json-values '$.spec.dataController.location=$ARC_DC_REGION'
341337

342-
azdata arc dc create -n $CLUSTER_NAME -c azure-arc-custom --accept-eula $ACCEPT_EULA
338+
azdata arc dc create -n $CLUSTER_NAME -c azure-arc-custom --accept-eula $ACCEPT_EULA --namespace $ARC_DC_NAME --location $ARC_DC_REGION --resource-group $ARC_DC_RG --subscription $ARC_DC_SUBSCRIPTION
343339
echo "Azure Arc Data Controller cluster created."
344340

345341
# Setting context to cluster.

0 commit comments

Comments
 (0)