From 411ee6950143a279a40b643413af04d92fbeadde Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 28 Nov 2021 23:19:08 +0700 Subject: [PATCH] feat(scripts): add script to get list of ingresses --- scripts/get-dns-config | 4 ++++ 1 file changed, 4 insertions(+) create mode 100755 scripts/get-dns-config diff --git a/scripts/get-dns-config b/scripts/get-dns-config new file mode 100755 index 00000000..e864f588 --- /dev/null +++ b/scripts/get-dns-config @@ -0,0 +1,4 @@ +#!/bin/sh + +export KUBECONFIG=./metal/kubeconfig.yaml +kubectl get ingress --all-namespaces --no-headers --output custom-columns="ADDRESS:.status.loadBalancer.ingress[0].ip,HOST:.spec.rules[0].host"