1
0
mirror of https://github.com/khuedoan/homelab.git synced 2025-01-31 18:05:05 +07:00
khuedoan-homelab/scripts/get-dns-config

5 lines
197 B
Bash
Executable File

#!/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"