Skip to content

Commit

Permalink
add license notice
Browse files Browse the repository at this point in the history
Signed-off-by: kksat <22549266+kksat@users.noreply.github.com>
  • Loading branch information
kksat authored and mjiao committed Aug 14, 2024
1 parent 721e56e commit b7a54fa
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions bicep/domain-records.bicep
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
// SPDX-FileCopyrightText: 2024 SAP edge team
// SPDX-FileContributor: Kirill Satarin (@kksat)
// SPDX-FileContributor: Manjun Jiao (@mjiao)
//
// SPDX-License-Identifier: Apache-2.0

@description('The name of the DNS zone where A records will be created, must already exist')
param domainZoneName string

Expand Down
6 changes: 6 additions & 0 deletions hack/domain-records.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#! /usr/bin/env bash

# SPDX-FileCopyrightText: 2024 SAP edge team
# SPDX-FileContributor: Kirill Satarin (@kksat)
# SPDX-FileContributor: Manjun Jiao (@mjiao)
#
# SPDX-License-Identifier: Apache-2.0

DOMAIN=""
ARO_NAME=""
ARO_RESOURCE_GROUP=""
Expand Down
6 changes: 6 additions & 0 deletions hack/domain-zone-exists.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#! /usr/bin/env bash

# SPDX-FileCopyrightText: 2024 SAP edge team
# SPDX-FileContributor: Kirill Satarin (@kksat)
# SPDX-FileContributor: Manjun Jiao (@mjiao)
#
# SPDX-License-Identifier: Apache-2.0

NAME=$(az network dns zone list --query "[?name=='${ARO_DOMAIN}'].name" -o tsv)
if [ "${NAME}" == "${ARO_DOMAIN}" ]; then
echo "Domain zone ${ARO_DOMAIN} exists"
Expand Down

0 comments on commit b7a54fa

Please sign in to comment.