feat(traefik): Expose traefik dashboard on Tailscale
This commit is contained in:
parent
fd70b4d934
commit
5398db801c
1 changed files with 27 additions and 17 deletions
|
@ -30,7 +30,8 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.esrom.spec = {
|
||||
services = {
|
||||
esrom.spec = {
|
||||
type = "ExternalName";
|
||||
externalName = "esrom.dmz";
|
||||
|
||||
|
@ -39,19 +40,23 @@
|
|||
targetPort = 80;
|
||||
};
|
||||
};
|
||||
|
||||
traefik-dashboard.spec = {
|
||||
selector = {
|
||||
"app.kubernetes.io/name" = "traefik";
|
||||
"app.kubernetes.io/instance" = "traefik-kube-system";
|
||||
};
|
||||
|
||||
lab.ingresses = {
|
||||
ek2024 = {
|
||||
host = "ek2024.kun.is";
|
||||
|
||||
service = {
|
||||
name = "ek2024";
|
||||
portName = "web";
|
||||
ports.web = {
|
||||
port = 80;
|
||||
targetPort = "traefik";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
esrom = {
|
||||
lab = {
|
||||
ingresses.esrom = {
|
||||
host = "esrom.kun.is";
|
||||
|
||||
service = {
|
||||
|
@ -59,5 +64,10 @@
|
|||
portName = "web";
|
||||
};
|
||||
};
|
||||
|
||||
tailscaleIngresses.tailscale = {
|
||||
host = "traefik";
|
||||
service.name = "traefik-dashboard";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue