From a4880a7b29ecc60340cb00f7fc5561b6e1bde708 Mon Sep 17 00:00:00 2001 From: kqmaverick <121722567+kqmaverick@users.noreply.github.com> Date: Sat, 8 Mar 2025 13:57:22 -0700 Subject: [PATCH] docs(add-storage): fix add storage guide and add nfs (#33017) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit **Description** Fixes tabbing on add storage guide and adds an NFS example. ⚒️ Fixes # **⚙️ Type of change** - [ ] ⚙️ Feature/App addition - [ ] 🪛 Bugfix - [ ] ⚠️ Breaking change (fix or feature that would cause existing functionality to not work as expected) - [ ] 🔃 Refactor of current code - [X] 📜 Documentation Changes **🧪 How Has This Been Tested?** **📃 Notes:** **✔️ Checklist:** - [ ] ⚖️ My code follows the style guidelines of this project - [ ] 👀 I have performed a self-review of my own code - [ ] #️⃣ I have commented my code, particularly in hard-to-understand areas - [ ] 📄 I have made changes to the documentation - [ ] 🧪 I have added tests to this description that prove my fix is effective or that my feature works - [ ] ⬆️ I increased versions for any altered app according to semantic versioning - [X] I made sure the title starts with `feat(chart-name):`, `fix(chart-name):`, `chore(chart-name):`, `docs(chart-name):` or `fix(docs):` **➕ App addition** If this PR is an app addition please make sure you have done the following. - [ ] 🖼️ I have added an icon in the Chart's root directory called `icon.png` --- _Please don't blindly check all the boxes. Read them and only check those that apply. Those checkboxes are there for the reviewer to see what is this all about and the status of this PR with a quick glance._ --- website/src/content/docs/guides/add-storage.md | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/website/src/content/docs/guides/add-storage.md b/website/src/content/docs/guides/add-storage.md index 29c1ec056fe..244a78c730b 100644 --- a/website/src/content/docs/guides/add-storage.md +++ b/website/src/content/docs/guides/add-storage.md @@ -15,11 +15,23 @@ For PVC storage to function correctly, it's important to already have a storageC To setup persistence, add the following section to your values.yaml manually and adapt as needed: ```yaml +// values.yaml persistence: config: enabled: true - type: PVC - mountPath: /mystorage + type: pvc + mountPath: /mystorage +``` + +```yaml +// values.yaml +persistence: + config: + enabled: true + type: nfs + path: /mnt/data/media + mountPath: /media + server: 192.168.0.100 ``` In some cases an ingress might already been partly defined. That means you should append the information as you need it, but not touch, for example, the mountPath.