import type { ReactNode } from "react"; import { siApple, siDocker, siGitea, siGodaddy, siHarbor, siKubernetes, siNginx, } from "simple-icons"; import { BarChart3, Globe, Laptop, Rocket } from "lucide-react"; import { BrandIcon } from "@/components/BrandIcon"; import { Boundary, Connector, FlowNode } from "@/components/flow"; type Target = { name: string; detail: string; icon: ReactNode; accent: string; }; /** * Pods in the cluster that are exposed by their own LoadBalancer Service on a * host port, so they bypass ingress-nginx. */ const loadBalanced: Target[] = [ { name: "harbor", detail: "harbor.tomchien.com:8080", icon: , accent: `#${siHarbor.hex}`, }, { name: "gitea", detail: "gitea.tomchien.com:3001", icon: , accent: `#${siGitea.hex}`, }, ]; /** Applications running in the cluster, reached through ingress-nginx. */ const targets: Target[] = [ { name: "it-cost-dev", detail: "dev environment", icon: