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

@ -22,6 +22,20 @@ in
runAsUser = 1000;
runAsGroup = 1000;
};
initContainers = [
{
name = "rssfs";
image = "rsshfs-client:latest";
args = ["/bin/rsshfs" "rsshfs-server" "/data" "/containers/authentik"];
restartPolicy = "Always";
volumeMounts = [
{
mountPath = "/data";
name = "iscsi";
}
];
}
];
containers = [
{
name = "authentik-postgres";

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;
}
];
};
}
];
}