#!/bin/bash
ARGO_INGRESS_NAME="argocd-server-ingress" # Or whatever your Argo CD ingress is named
ARGO_NAMESPACE="argocd" # Your Argo CD namespace
kubectl get ingress "$ARGO_INGRESS_NAME" -n "$ARGO_NAMESPACE" -o jsonpath='{.spec.rules[0].host}' 2>/dev/null
