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-db.storage = "150Mi";
|
||||
minecraft.storage = "1Gi";
|
||||
ntfy.storage = "300Mi";
|
||||
authentik-db.storage = "10Gi";
|
||||
authentik-redis.storage = "5Gi";
|
||||
mealie.storage = "3Gi";
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
metadata.labels.app = "ntfy";
|
||||
|
||||
spec = {
|
||||
nodeName = "jefke";
|
||||
|
||||
containers.ntfy = {
|
||||
image = utils.mkNixNGImage "ntfy";
|
||||
ports.web.containerPort = 80;
|
||||
|
@ -48,7 +50,11 @@
|
|||
volumes = {
|
||||
cache.persistentVolumeClaim.claimName = "cache";
|
||||
attachment-cache.persistentVolumeClaim.claimName = "attachment-cache";
|
||||
data.persistentVolumeClaim.claimName = "data";
|
||||
|
||||
data.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/ntfy";
|
||||
type = "Directory";
|
||||
};
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
|
@ -90,11 +96,6 @@
|
|||
portName = "web";
|
||||
};
|
||||
};
|
||||
|
||||
longhorn.persistentVolumeClaim.data = {
|
||||
volumeName = "ntfy";
|
||||
storage = "300Mi";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue