1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-10-20 12:53:06 +02:00

Fix small issues in the K8s sts documentation

The flag --cache-file and its argument need to be passed as two separate
arguments, otherwise it gets parsed as a single long flag and results in
an "incorrect usage" error.

The pvc needs to be mounted to actually get used.
This commit is contained in:
Vojtech Balak 2023-01-13 19:29:44 +01:00
parent 1fd166d5c7
commit 0dd07d10a0
No known key found for this signature in database
GPG key ID: E69C8386C41F96E9

View file

@ -371,7 +371,7 @@ unmanned pod.
containers: containers:
- name: ntfy - name: ntfy
image: binwiederhier/ntfy image: binwiederhier/ntfy
args: ["serve", "--cache-file /var/cache/ntfy/cache.db"] args: ["serve", "--cache-file", "/var/cache/ntfy/cache.db"]
ports: ports:
- containerPort: 80 - containerPort: 80
name: http name: http
@ -379,6 +379,8 @@ unmanned pod.
- name: config - name: config
mountPath: "/etc/ntfy" mountPath: "/etc/ntfy"
readOnly: true readOnly: true
- name: cache
mountPath: "/var/cache/ntfy"
volumes: volumes:
- name: config - name: config
configMap: configMap: