Move attic off longhorn
This commit is contained in:
parent
6aa41c082f
commit
f5cff1bbb3
2 changed files with 13 additions and 16 deletions
|
@ -40,6 +40,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
|
nodeName = "jefke";
|
||||||
|
|
||||||
containers.attic = {
|
containers.attic = {
|
||||||
image = utils.mkNixNGImage "attic";
|
image = utils.mkNixNGImage "attic";
|
||||||
ports.web.containerPort = 8080;
|
ports.web.containerPort = 8080;
|
||||||
|
@ -65,8 +67,12 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
volumes = {
|
volumes = {
|
||||||
data.persistentVolumeClaim.claimName = "data";
|
|
||||||
server.secret.secretName = "server";
|
server.secret.secretName = "server";
|
||||||
|
|
||||||
|
data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/attic";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
securityContext = {
|
securityContext = {
|
||||||
|
@ -90,6 +96,8 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
|
nodeName = "jefke";
|
||||||
|
|
||||||
containers.postgres = {
|
containers.postgres = {
|
||||||
image = globals.images.postgres15;
|
image = globals.images.postgres15;
|
||||||
imagePullPolicy = "IfNotPresent";
|
imagePullPolicy = "IfNotPresent";
|
||||||
|
@ -114,7 +122,10 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
volumes.data.persistentVolumeClaim.claimName = "database";
|
volumes.data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/attic-db";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
@ -156,18 +167,6 @@
|
||||||
portName = "web";
|
portName = "web";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
longhorn.persistentVolumeClaim = {
|
|
||||||
data = {
|
|
||||||
volumeName = "attic";
|
|
||||||
storage = "15Gi";
|
|
||||||
};
|
|
||||||
|
|
||||||
database = {
|
|
||||||
volumeName = "attic-db";
|
|
||||||
storage = "150Mi";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,8 +88,6 @@
|
||||||
lab = {
|
lab = {
|
||||||
longhorn.persistentVolume = {
|
longhorn.persistentVolume = {
|
||||||
kitchenowl.storage = "100Mi";
|
kitchenowl.storage = "100Mi";
|
||||||
attic.storage = "15Gi";
|
|
||||||
attic-db.storage = "150Mi";
|
|
||||||
minecraft.storage = "1Gi";
|
minecraft.storage = "1Gi";
|
||||||
authentik-db.storage = "10Gi";
|
authentik-db.storage = "10Gi";
|
||||||
authentik-redis.storage = "5Gi";
|
authentik-redis.storage = "5Gi";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue