Skip to content

Commit

Permalink
add aro cluster name to the aro domain
Browse files Browse the repository at this point in the history
Signed-off-by: c5346650 <manjun.jiao@sap.com>
  • Loading branch information
c5346650 committed Aug 27, 2024
1 parent 51909f1 commit 0a7bdfc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bicep.makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ aro-deploy: domain-zone-exists network-deploy ## Deploy ARO
--parameters \
clusterName=${ARO_CLUSTER_NAME} \
pullSecret=${PULL_SECRET} \
domain=${ARO_DOMAIN} \
domain="${ARO_CLUSTER_NAME}.${ARO_DOMAIN}" \
version=${ARO_VERSION} \
servicePrincipalClientId=${CLIENT_ID} \
servicePrincipalClientSecret=${CLIENT_SECRET}
Expand Down
4 changes: 2 additions & 2 deletions hack/domain-records.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ az deployment group create \
--template-file bicep/domain-records.bicep \
--parameters \
domainZoneName="${DOMAIN}" \
recordName='api' \
recordName="api.${ARO_CLUSTER_NAME}" \
ipv4Address="${API_IP}"

az deployment group create \
--resource-group "$(az network dns zone list --query "[?name=='saponrhel.org'].resourceGroup" -o tsv)" \
--template-file bicep/domain-records.bicep \
--parameters \
domainZoneName="${DOMAIN}" \
recordName='*.apps' \
recordName="*.apps.${ARO_CLUSTER_NAME}" \
ipv4Address="${INGRESS_IP}"

0 comments on commit 0a7bdfc

Please sign in to comment.