Skip to content

Commit

Permalink
fix(ingress/dns): specify nameserver hostname
Browse files Browse the repository at this point in the history
  • Loading branch information
HoKim98 committed Aug 15, 2024
1 parent 00ecf97 commit 6212716
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/ingress/k8s-gateway/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ helm upgrade --install "exdns-1" \
--namespace "${NAMESPACE}-${DOMAIN_NAME/./-}" \
--set domain="${DOMAIN_NAME}" \
--set secondary="exdns-2-k8s-gateway.${NAMESPACE}-${DOMAIN_NAME/./-}" \
--set service.annotations."coredns\.io/hostname"="ns1.${DOMAIN_NAME}" \
--set service.loadBalancerIP="${DNS_SERVER_1}" \
--values "./values.yaml"
helm upgrade --install "exdns-2" \
Expand All @@ -81,6 +82,7 @@ helm upgrade --install "exdns-2" \
--namespace "${NAMESPACE}-${DOMAIN_NAME/./-}" \
--set domain="${DOMAIN_NAME}" \
--set secondary="exdns-1-k8s-gateway.${NAMESPACE}-${DOMAIN_NAME/./-}" \
--set service.annotations."coredns\.io/hostname"="ns2.${DOMAIN_NAME}" \
--set service.loadBalancerIP="${DNS_SERVER_2}" \
--values "./values.yaml"

Expand Down

0 comments on commit 6212716

Please sign in to comment.