diff --git a/cloudflared.sh b/cloudflared.sh index be1b026..d37d3fe 100755 --- a/cloudflared.sh +++ b/cloudflared.sh @@ -48,6 +48,7 @@ while true; do # them to our Python script which will ensure their DNS records are correctly defined in Cloudflare kubectl get ingress --all-namespaces --output=json | jq -r ' [.items[] | + select(.metadata.name | startswith( "kube-lego-" ) | not ) | select(.status.loadBalancer) | select(.status.loadBalancer.ingress) | select(.status.loadBalancer.ingress[].ip) |