rsshfs conatiners

This commit is contained in:
nyxerinys 2026-06-29 10:53:55 -05:00
parent 67308d26e9
commit 9291374d2e
8 changed files with 343 additions and 1 deletions

View file

@ -0,0 +1,51 @@
{ ... }:
{
storage-combo.content = [
{
apiVersion = "apps/v1";
kind = "Deployment";
metadata = {
name = "storage-combo";
labels.app = "storage-combo";
};
spec = {
selector.matchLabels.app = "storage-combo";
template = {
metadata = {
labels.app = "storage-combo";
};
spec = {
containers = [
{
name = "storage-combo";
image = "rsshfs-server:latest";
ports = [
{
name = "ssh-port";
containerPort = 2222;
}
];
}
];
};
};
};
}
{
apiVersion = "v1";
kind = "Service";
metadata.name = "rsshfs-server";
spec = {
selector.app = "storage-combo";
ports = [
{
name = "ssh-port";
portocol = "TCP";
port = 22;
targetport = 2222;
}
];
};
}
];
}