From 00c6b7a675aaf764859ce20412a6bb56b80916b2 Mon Sep 17 00:00:00 2001 From: Iamrushabhshahh Date: Thu, 15 Oct 2026 17:56:25 +0530 Subject: [PATCH] docs(karpor): note that the Ingress needs Kubernetes 1.19+ The Ingress template uses networking.k8s.io/v1, which Kubernetes added in 1.19. Say so in the values and the README, as suggested in the review of #132. Bump the chart to 0.7.8. Co-authored-by: Iamrushabhshahh Signed-off-by: Iamrushabhshahh --- charts/karpor/Chart.yaml | 2 +- charts/karpor/README.md | 4 ++-- charts/karpor/README.md.gotmpl | 2 +- charts/karpor/values.yaml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/charts/karpor/Chart.yaml b/charts/karpor/Chart.yaml index 9f68ddc..7ced434 100644 --- a/charts/karpor/Chart.yaml +++ b/charts/karpor/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 name: karpor -version: 0.7.7 +version: 0.7.8 type: application appVersion: 0.6.4 description: A modern kubernetes visualization tool (Karpor). diff --git a/charts/karpor/README.md b/charts/karpor/README.md index 99ce8a7..690c2d8 100644 --- a/charts/karpor/README.md +++ b/charts/karpor/README.md @@ -143,7 +143,7 @@ This one-time job is used to generate root certificates and some preliminary wor ### Ingress -An optional Ingress that exposes the Karpor Server. It is disabled by default. The server only serves HTTPS, so tell your ingress controller to use HTTPS for the backend. For example, with ingress-nginx: +An optional Ingress that exposes the Karpor Server. It is disabled by default and uses the `networking.k8s.io/v1` Ingress API, so it needs Kubernetes 1.19 or later. The server only serves HTTPS, so tell your ingress controller to use HTTPS for the backend. For example, with ingress-nginx: ```shell helm install karpor-release kusionstack/karpor \ @@ -158,7 +158,7 @@ helm install karpor-release kusionstack/karpor \ |-----|------|---------|-------------| | ingress.annotations | object | `{}` | Annotations for the Ingress. The karpor server only serves HTTPS on `server.port`, so the ingress controller must talk HTTPS to the backend. For ingress-nginx, set `nginx.ingress.kubernetes.io/backend-protocol: "HTTPS"`. | | ingress.className | string | `""` | Name of the IngressClass to use, e.g. "nginx". Leave empty to use the cluster's default IngressClass. | -| ingress.enabled | bool | `false` | Whether to create an Ingress for the karpor server. | +| ingress.enabled | bool | `false` | Whether to create an Ingress for the karpor server. Uses `networking.k8s.io/v1`, so it needs Kubernetes 1.19+. | | ingress.hosts | list | `[{"host":"karpor.example.com","paths":[{"path":"/","pathType":"Prefix"}]}]` | Host rules for the Ingress. Each host routes its paths to the karpor server service. | | ingress.tls | list | `[]` | TLS settings for the Ingress, e.g. `[{"hosts": ["karpor.example.com"], "secretName": "karpor-tls"}]`. | diff --git a/charts/karpor/README.md.gotmpl b/charts/karpor/README.md.gotmpl index 786a218..2f76e5b 100644 --- a/charts/karpor/README.md.gotmpl +++ b/charts/karpor/README.md.gotmpl @@ -125,7 +125,7 @@ This one-time job is used to generate root certificates and some preliminary wor ### Ingress -An optional Ingress that exposes the Karpor Server. It is disabled by default. The server only serves HTTPS, so tell your ingress controller to use HTTPS for the backend. For example, with ingress-nginx: +An optional Ingress that exposes the Karpor Server. It is disabled by default and uses the `networking.k8s.io/v1` Ingress API, so it needs Kubernetes 1.19 or later. The server only serves HTTPS, so tell your ingress controller to use HTTPS for the backend. For example, with ingress-nginx: ```shell helm install karpor-release kusionstack/karpor \ diff --git a/charts/karpor/values.yaml b/charts/karpor/values.yaml index f2673bf..7d765fd 100644 --- a/charts/karpor/values.yaml +++ b/charts/karpor/values.yaml @@ -168,7 +168,7 @@ job: # Configuration for Ingress ingress: - # -- Whether to create an Ingress for the karpor server. + # -- Whether to create an Ingress for the karpor server. Uses `networking.k8s.io/v1`, so it needs Kubernetes 1.19+. enabled: false # -- Name of the IngressClass to use, e.g. "nginx". Leave empty to use the cluster's default IngressClass. className: ""