From 0dd07d10a0f0fdb74ca3550b729bdb9add1037ac Mon Sep 17 00:00:00 2001 From: Vojtech Balak Date: Fri, 13 Jan 2023 19:29:44 +0100 Subject: [PATCH] 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. --- docs/install.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/install.md b/docs/install.md index 00b0363..7bf42ca 100644 --- a/docs/install.md +++ b/docs/install.md @@ -371,7 +371,7 @@ unmanned pod. containers: - name: ntfy image: binwiederhier/ntfy - args: ["serve", "--cache-file /var/cache/ntfy/cache.db"] + args: ["serve", "--cache-file", "/var/cache/ntfy/cache.db"] ports: - containerPort: 80 name: http @@ -379,6 +379,8 @@ unmanned pod. - name: config mountPath: "/etc/ntfy" readOnly: true + - name: cache + mountPath: "/var/cache/ntfy" volumes: - name: config configMap: