You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by zh...@apache.org on 2022/11/10 15:48:43 UTC

[apisix-helm-chart] branch master updated: feat: support for using apisix 3.x image (#390)

This is an automated email from the ASF dual-hosted git repository.

zhangjintao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/apisix-helm-chart.git


The following commit(s) were added to refs/heads/master by this push:
     new b2f13ac  feat: support for using apisix 3.x image (#390)
b2f13ac is described below

commit b2f13ac7d8309174fcbb528cba244724b9f1d22f
Author: tzssangglass <tz...@gmail.com>
AuthorDate: Thu Nov 10 23:48:37 2022 +0800

    feat: support for using apisix 3.x image (#390)
---
 charts/apisix/templates/configmap.yaml |  4 ++--
 docs/en/latest/apisix.md               | 12 ++++++++++++
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/charts/apisix/templates/configmap.yaml b/charts/apisix/templates/configmap.yaml
index fa370de..ad9bcde 100644
--- a/charts/apisix/templates/configmap.yaml
+++ b/charts/apisix/templates/configmap.yaml
@@ -14,7 +14,7 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-{{- $isBeta := (semverCompare ">=2.99.0" .Values.apisix.image.tag) }}
+{{- $isBeta := (semverCompare ">=2.99.0-0" .Values.apisix.image.tag) }}
 
 {{- if .Values.apisix.enabled }}
 apiVersion: v1
@@ -309,7 +309,7 @@ data:
       plugins:
         {{- toYaml .Values.wasmPlugins.plugins | nindent 8 }}
     {{- end }}
-    
+
     {{- if $isBeta }}
     deployment:
       role: traditional
diff --git a/docs/en/latest/apisix.md b/docs/en/latest/apisix.md
index 0236ef8..b044a76 100644
--- a/docs/en/latest/apisix.md
+++ b/docs/en/latest/apisix.md
@@ -31,6 +31,18 @@ helm repo update
 helm install apisix apisix/apisix --create-namespace  --namespace apisix
 ```
 
+### APISIX v3.x
+
+The current default version of APISIX installed is `2.15.0`, if you want to install APISIX 3.x, to install the chart of APISIX with:
+
+```shell
+helm install apisix apisix/apisix --set apisix.image.tag=3.0.0-debian --create-namespace --namespace apisix
+```
+
+:::note
+
+The latest APISIX Ingress Controller and APISIX Dashboard are not compatible with APISIX 3.x.
+
 ## Uninstall
 
 To uninstall/delete the `apisix` release: