Don't cache ntfy stuff
This commit is contained in:
parent
704bb54028
commit
10ffcff6e4
2 changed files with 3 additions and 30 deletions
|
@ -32,41 +32,16 @@
|
|||
env.TZ.value = "Europe/Amsterdam";
|
||||
|
||||
volumeMounts = [
|
||||
{
|
||||
name = "cache";
|
||||
mountPath = "/var/cache/ntfy";
|
||||
}
|
||||
{
|
||||
name = "data";
|
||||
mountPath = "/var/lib/ntfy";
|
||||
}
|
||||
{
|
||||
name = "attachment-cache";
|
||||
mountPath = "/var/cache/ntfy-attachments";
|
||||
}
|
||||
];
|
||||
};
|
||||
|
||||
volumes = {
|
||||
data.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/ntfy";
|
||||
type = "Directory";
|
||||
};
|
||||
|
||||
cache.hostPath = {
|
||||
path = "/tmp/ntfy-cache";
|
||||
type = "DirectoryOrCreate";
|
||||
};
|
||||
|
||||
attachment-cache.hostPath = {
|
||||
path = "/tmp/ntfy-attachment-cache";
|
||||
type = "DirectoryOrCreate";
|
||||
};
|
||||
};
|
||||
|
||||
securityContext = {
|
||||
fsGroup = 407;
|
||||
fsGroupChangePolicy = "Always";
|
||||
volumes.data.hostPath = {
|
||||
path = "/mnt/longhorn/persistent/volumes/ntfy";
|
||||
type = "Directory";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue