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,28 +30,33 @@
|
|||
};
|
||||
};
|
||||
|
||||
services.esrom.spec = {
|
||||
type = "ExternalName";
|
||||
externalName = "esrom.dmz";
|
||||
services = {
|
||||
esrom.spec = {
|
||||
type = "ExternalName";
|
||||
externalName = "esrom.dmz";
|
||||
|
||||
ports.web = {
|
||||
port = 80;
|
||||
targetPort = 80;
|
||||
ports.web = {
|
||||
port = 80;
|
||||
targetPort = 80;
|
||||
};
|
||||
};
|
||||
|
||||
traefik-dashboard.spec = {
|
||||
selector = {
|
||||
"app.kubernetes.io/name" = "traefik";
|
||||
"app.kubernetes.io/instance" = "traefik-kube-system";
|
||||
};
|
||||
|
||||
ports.web = {
|
||||
port = 80;
|
||||
targetPort = "traefik";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
lab.ingresses = {
|
||||
ek2024 = {
|
||||
host = "ek2024.kun.is";
|
||||
|
||||
service = {
|
||||
name = "ek2024";
|
||||
portName = "web";
|
||||
};
|
||||
};
|
||||
|
||||
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