Add new infra architecture 7
This commit is contained in:
2
Tiltfile
2
Tiltfile
@@ -593,7 +593,7 @@ local_resource(
|
|||||||
echo "Configuring CoreDNS to forward external queries to Unbound for DNSSEC validation..."
|
echo "Configuring CoreDNS to forward external queries to Unbound for DNSSEC validation..."
|
||||||
|
|
||||||
# Check current CoreDNS forward configuration
|
# Check current CoreDNS forward configuration
|
||||||
CURRENT_FORWARD=$(kubectl get configmap coredns -n kube-system -o jsonpath='{.data.Corefile}' | grep -o 'forward \. [0-9.]*' | awk '{print $3}')
|
CURRENT_FORWARD=$(kubectl get configmap coredns -n kube-system -o jsonpath='{.data.Corefile}' | grep -o 'forward \\. [0-9.]*' | awk '{print $3}')
|
||||||
|
|
||||||
if [ "$CURRENT_FORWARD" != "$UNBOUND_IP" ]; then
|
if [ "$CURRENT_FORWARD" != "$UNBOUND_IP" ]; then
|
||||||
echo "Updating CoreDNS to forward to Unbound ($UNBOUND_IP)..."
|
echo "Updating CoreDNS to forward to Unbound ($UNBOUND_IP)..."
|
||||||
|
|||||||
Reference in New Issue
Block a user