small change

This commit is contained in:
un-oeil 2026-10-11 21:16:29 +02:00
parent 6d5317bbe9
commit 5f8ee80cf3
4 changed files with 21 additions and 7 deletions

View file

@ -182,10 +182,20 @@ kubectl apply --server-side -k argocd-install/
kubectl -n argocd rollout status deploy/argocd-server
kubectl apply -f bootstrap/root.yaml
```
Argo CD UI: `kubectl -n argocd port-forward svc/argocd-server 8080:80`, or
`10.0.0.141 argocd.un-oeil.fr` in `/etc/hosts`. It's admin-only: **don't add
it to Caddy**. Same for the Longhorn UI:
`kubectl -n longhorn-system port-forward svc/longhorn-frontend 8081:80`.
Argo CD UI: https://argocd.un-oeil.fr, admin laptop only. The Caddy vhost
allows `10.10.10.2` and answers 403 to every other WireGuard peer:
```
argocd.un-oeil.fr {
@admin remote_ip 10.10.10.2
handle @admin {
reverse_proxy 10.0.0.141:80 10.0.0.142:80 10.0.0.143:80
}
respond 403
}
```
Without Caddy: `kubectl -n argocd port-forward svc/argocd-server 8080:80`.
Longhorn UI: `kubectl -n longhorn-system port-forward svc/longhorn-frontend 8081:80`
(or the same Caddy pattern with a `longhorn.un-oeil.fr` Ingress).
## Before relying on it

View file

@ -9,6 +9,10 @@
href: https://status.un-oeil.fr
siteMonitor: https://status.un-oeil.fr
icon: uptime-kuma.svg
widget:
type: uptimekuma
url: https://status.un-oeil.fr
slug: homelab
- Pelican:
href: https://pelican.un-oeil.fr
siteMonitor: https://pelican.un-oeil.fr

View file

@ -3,6 +3,6 @@ kind: ConfigMap
metadata:
name: argocd-cm
data:
url: http://argocd.un-oeil.fr
url: https://argocd.un-oeil.fr
# Lets an app's kustomization.yaml pull Helm charts via `helmCharts:`.
kustomize.buildOptions: --enable-helm

View file

@ -1,5 +1,5 @@
# Admin-only: do NOT add this host to Caddy. Reach it over WireGuard with
# `10.0.0.141 argocd.un-oeil.fr` in the laptop's /etc/hosts.
# https://argocd.un-oeil.fr through Caddy (LXC 100), which only lets the admin
# laptop in (remote_ip 10.10.10.2) and answers 403 to everyone else.
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata: