terranix/k3s/matrix: use port names instead of port numbers

Signed-off-by: magic_rb <magic_rb@redalder.org>
This commit is contained in:
magic_rb 2024-11-03 21:39:13 +01:00
parent c5480f8efa
commit 8e70fec4ab
No known key found for this signature in database
GPG key ID: 08D5287CC5DDCA0E
2 changed files with 11 additions and 11 deletions

View file

@ -606,37 +606,37 @@ in {
name = "postgresql";
port = 5432;
protocol = "TCP";
targetPort = 5432;
targetPort = "postgresql";
}
{
name = "master-http";
port = 6167;
protocol = "TCP";
targetPort = 6167;
targetPort = "master-http";
}
{
name = "client-http";
port = 6168;
protocol = "TCP";
targetPort = 6168;
targetPort = "client-http";
}
{
name = "sync-http";
port = 6169;
protocol = "TCP";
targetPort = 6169;
targetPort = "sync-http";
}
{
name = "federation-receiver-http";
port = 6170;
protocol = "TCP";
targetPort = 6170;
targetPort = "federation-receiver-http";
}
{
name = "federation-sender-http";
port = 6171;
protocol = "TCP";
targetPort = 6171;
targetPort = "federation-sender-http";
}
];
selector.app = "synapse";
@ -694,7 +694,7 @@ in {
{
name = "synapse";
namespace = "matrix";
port = 6170;
port = "federation-receiver-http";
}
];
}
@ -772,7 +772,7 @@ in {
{
name = "synapse";
namespace = "matrix";
port = 6168;
port = "client-http";
}
];
}
@ -792,7 +792,7 @@ in {
{
name = "synapse";
namespace = "matrix";
port = 6169;
port = "sync-http";
}
];
}
@ -801,7 +801,7 @@ in {
{
name = "synapse";
namespace = "matrix";
port = 6167;
port = "master-http";
}
];
}

View file

@ -192,7 +192,7 @@ in {
name = "app-service";
port = 29334;
protocol = "TCP";
targetPort = 29334;
targetPort = "app-service";
}
];
selector.app = "mautrix-discord";