From b95b4a19c55e62a8ea960282acbbecae1f142a62 Mon Sep 17 00:00:00 2001 From: yanchuan Date: Thu, 11 Apr 2024 16:01:03 +0800 Subject: [PATCH] chore(dev): upgrade APISIX to 3.9.0 (#750) --- charts/apisix/Chart.yaml | 2 +- charts/apisix/README.md | 2 +- charts/apisix/templates/configmap.yaml | 2 +- charts/apisix/values.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/apisix/Chart.yaml b/charts/apisix/Chart.yaml index e40a01b4..b2231cd3 100644 --- a/charts/apisix/Chart.yaml +++ b/charts/apisix/Chart.yaml @@ -31,7 +31,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 2.6.0 +version: 2.6.1 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/charts/apisix/README.md b/charts/apisix/README.md index f39508d3..ea161179 100644 --- a/charts/apisix/README.md +++ b/charts/apisix/README.md @@ -167,7 +167,7 @@ The command removes all the Kubernetes components associated with the chart and | hostNetwork | bool | `false` | | | image.pullPolicy | string | `"IfNotPresent"` | Apache APISIX image pull policy | | image.repository | string | `"apache/apisix"` | Apache APISIX image repository | -| image.tag | string | `"3.8.0-debian"` | Apache APISIX image tag Overrides the image tag whose default is the chart appVersion. | +| image.tag | string | `"3.9.0-debian"` | Apache APISIX image tag Overrides the image tag whose default is the chart appVersion. | | ingress | object | `{"annotations":{},"enabled":false,"hosts":[{"host":"apisix.local","paths":[]}],"servicePort":null,"tls":[]}` | Using ingress access Apache APISIX service | | ingress-controller | object | `{"config":{"apisix":{"adminAPIVersion":"v3"}},"enabled":false}` | Ingress controller configuration | | ingress.annotations | object | `{}` | Ingress annotations | diff --git a/charts/apisix/templates/configmap.yaml b/charts/apisix/templates/configmap.yaml index e3917c6b..6a7b23fa 100644 --- a/charts/apisix/templates/configmap.yaml +++ b/charts/apisix/templates/configmap.yaml @@ -66,6 +66,7 @@ data: enable_dev_mode: false # Sets nginx worker_processes to 1 if set to true enable_reuseport: true # Enable nginx SO_REUSEPORT switch if set to true. enable_ipv6: {{ .Values.apisix.enableIPv6 }} # Enable nginx IPv6 resolver + enable_http2: {{ .Values.apisix.ssl.http2.enabled }} enable_server_tokens: {{ .Values.apisix.enableServerTokens }} # Whether the APISIX version number should be shown in Server header # proxy_protocol: # Proxy Protocol configuration @@ -149,7 +150,6 @@ data: enable: {{ .Values.apisix.ssl.enabled }} listen: - port: {{ .Values.apisix.ssl.containerPort }} - enable_http2: {{ .Values.apisix.ssl.http2.enabled }} {{- with .Values.apisix.ssl.additionalContainerPorts }} {{- toYaml . | nindent 10}} {{- end }} diff --git a/charts/apisix/values.yaml b/charts/apisix/values.yaml index 6c7cd9c9..9de233cd 100644 --- a/charts/apisix/values.yaml +++ b/charts/apisix/values.yaml @@ -29,7 +29,7 @@ image: pullPolicy: IfNotPresent # -- Apache APISIX image tag # Overrides the image tag whose default is the chart appVersion. - tag: 3.8.0-debian + tag: 3.9.0-debian # -- set false to use `Deployment`, set true to use `DaemonSet` useDaemonSet: false