Skip to content

Commit

Permalink
fix(poketwo): fix service ports to 80
Browse files Browse the repository at this point in the history
  • Loading branch information
oliver-ni committed Jul 15, 2024
1 parent 1c4fb54 commit 5fd502e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions kubernetes/poketwo/image-server.nix
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
http.paths = [{
path = "/";
pathType = "Prefix";
backend.service = { name = "image-server"; port.number = 8080; };
backend.service = { name = "image-server"; port.number = 80; };
}];
}];
tls = [{
Expand All @@ -57,7 +57,7 @@
metadata.annotations."service.kubernetes.io/topology-mode" = "Auto";
spec = {
selector.app = "image-server";
ports = [{ port = 8080; }];
ports = [{ port = 80; targetPort = 8080; }];
};
};
};
Expand Down
4 changes: 2 additions & 2 deletions kubernetes/poketwo/imgen-rust.nix
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
http.paths = [{
path = "/";
pathType = "Prefix";
backend.service = { name = "imgen-rust"; port.number = 8000; };
backend.service = { name = "imgen-rust"; port.number = 80; };
}];
}];
tls = [{
Expand All @@ -52,7 +52,7 @@
metadata.annotations."service.kubernetes.io/topology-mode" = "auto";
spec = {
selector.app = "imgen-rust";
ports = [{ port = 8000; }];
ports = [{ port = 80; targetPort = 8000; }];
};
};
};
Expand Down

0 comments on commit 5fd502e

Please sign in to comment.