From b5a9c5c615e38d309dbca288f91ae1c40fdb7995 Mon Sep 17 00:00:00 2001 From: ltsar-federated <123115856+ltsar-federated@users.noreply.github.com> Date: Tue, 31 Oct 2023 13:30:22 -0400 Subject: [PATCH] Update ingress examples to use correct syntax The ingress.hosts field expects a dictionary/map for the "hosts" value, including keys "path" and "pathType", as shown in the example `values.yaml`. This update changes the docs to show this format using the json-ified version of the correct values.yaml. --- install/kubernetes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/kubernetes.md b/install/kubernetes.md index 5cf2be33c..b2f114745 100644 --- a/install/kubernetes.md +++ b/install/kubernetes.md @@ -90,7 +90,7 @@ The following table lists the configurable parameters of the Wiki.js chart and t | `tolerations` | Toleration labels for wiki.jsk pod assignment | `[]` | | `ingress.enabled` | Enable ingress controller resource | `false` | | `ingress.annotations` | Ingress annotations | `{}` | -| `ingress.hosts` | List of ingress rules | `[{"host": "wiki.local", "paths": ["/"]}]` | +| `ingress.hosts` | List of ingress rules | `[{"host": "wiki.local", "paths": [{"path": "/", "pathType": "Prefix"]}]` | | `ingress.tls` | Ingress TLS configuration | `[]` | | `sideload.enabled` | Enable sideloading of locale files from git | `false` | | `sideload.repoURL` | Git repository URL containing locale files | `https://github.com/Requarks/wiki-localization` |