From 2e692f15faf1dc731bf274e5ef23b3a31a9b72b7 Mon Sep 17 00:00:00 2001 From: Arik Kfir Date: Wed, 20 Dec 2017 19:13:37 +0200 Subject: [PATCH] Ignore "kube-lego" Ingress objects. --- cloudflared.sh | 1 + 1 file changed, 1 insertion(+) 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) |