Skip to content

Commit

Permalink
fix dns entry for the cluster load balancer.
Browse files Browse the repository at this point in the history
  • Loading branch information
balchua committed Mar 20, 2021
1 parent c7cbcef commit 1b6814e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/join.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ until microk8s.status --wait-ready;
done

echo "adding microk8s-cluster.${dns_zone} dns to CSR."
sed -i 's@#MOREIPS@DNS.99 = microk8s-cluster.${dns_zone}\\n#MOREIPS\\n@g' /var/snap/microk8s/current/certs/csr.conf.template
sed -i 's@#MOREIPS@DNS.99 = microk8s-cluster.${dns_zone}\n#MOREIPS\n@g' /var/snap/microk8s/current/certs/csr.conf.template
echo "done."

sleep 10
Expand Down

0 comments on commit 1b6814e

Please sign in to comment.