Move ntfy off Longhorn
This commit is contained in:
parent
777bb629a2
commit
360cb2917f
2 changed files with 7 additions and 7 deletions
|
@ -103,7 +103,6 @@
|
||||||
attic.storage = "15Gi";
|
attic.storage = "15Gi";
|
||||||
attic-db.storage = "150Mi";
|
attic-db.storage = "150Mi";
|
||||||
minecraft.storage = "1Gi";
|
minecraft.storage = "1Gi";
|
||||||
ntfy.storage = "300Mi";
|
|
||||||
authentik-db.storage = "10Gi";
|
authentik-db.storage = "10Gi";
|
||||||
authentik-redis.storage = "5Gi";
|
authentik-redis.storage = "5Gi";
|
||||||
mealie.storage = "3Gi";
|
mealie.storage = "3Gi";
|
||||||
|
|
|
@ -24,6 +24,8 @@
|
||||||
metadata.labels.app = "ntfy";
|
metadata.labels.app = "ntfy";
|
||||||
|
|
||||||
spec = {
|
spec = {
|
||||||
|
nodeName = "jefke";
|
||||||
|
|
||||||
containers.ntfy = {
|
containers.ntfy = {
|
||||||
image = utils.mkNixNGImage "ntfy";
|
image = utils.mkNixNGImage "ntfy";
|
||||||
ports.web.containerPort = 80;
|
ports.web.containerPort = 80;
|
||||||
|
@ -48,7 +50,11 @@
|
||||||
volumes = {
|
volumes = {
|
||||||
cache.persistentVolumeClaim.claimName = "cache";
|
cache.persistentVolumeClaim.claimName = "cache";
|
||||||
attachment-cache.persistentVolumeClaim.claimName = "attachment-cache";
|
attachment-cache.persistentVolumeClaim.claimName = "attachment-cache";
|
||||||
data.persistentVolumeClaim.claimName = "data";
|
|
||||||
|
data.hostPath = {
|
||||||
|
path = "/mnt/longhorn/persistent/volumes/ntfy";
|
||||||
|
type = "Directory";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
securityContext = {
|
securityContext = {
|
||||||
|
@ -90,11 +96,6 @@
|
||||||
portName = "web";
|
portName = "web";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
longhorn.persistentVolumeClaim.data = {
|
|
||||||
volumeName = "ntfy";
|
|
||||||
storage = "300Mi";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue