diff --git a/charts/apisix/Chart.yaml b/charts/apisix/Chart.yaml index 5112d181..d3a6c305 100644 --- a/charts/apisix/Chart.yaml +++ b/charts/apisix/Chart.yaml @@ -31,12 +31,12 @@ 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.13.0 +version: 2.14.0 # 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 # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: 3.15.0 +appVersion: 3.16.0 sources: - https://github.com/apache/apisix-helm-chart diff --git a/charts/apisix/README.md b/charts/apisix/README.md index ac1a2e21..f08bb880 100644 --- a/charts/apisix/README.md +++ b/charts/apisix/README.md @@ -108,6 +108,7 @@ The command removes all the Kubernetes components associated with the chart and | apisix.nginx.logs.errorLog | string | `"/dev/stderr"` | Error log path | | apisix.nginx.logs.errorLogLevel | string | `"warn"` | Error log level | | apisix.nginx.luaSharedDicts | list | `[]` | Override default [lua_shared_dict](https://github.com/apache/apisix/blob/master/conf/config.yaml.example#L250-L276) settings, click [here](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L27-L30) to learn the format of a shared dict | +| apisix.nginx.metaLuaSharedDicts | list | `[]` | Override default meta-level [lua_shared_dict](https://github.com/apache/apisix/blob/master/conf/config.yaml.example) settings, meta-level shared dicts are shared across both HTTP and stream subsystems. Since APISIX 3.16.0, `upstream-healthcheck` is a meta-level shared dict. click [here](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L27-L30) to learn the format of a shared dict | | apisix.nginx.workerConnections | string | `"10620"` | | | apisix.nginx.workerProcesses | string | `"auto"` | | | apisix.nginx.workerRlimitNofile | string | `"20480"` | | @@ -188,7 +189,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.15.0-ubuntu"` | Apache APISIX image tag Overrides the image tag whose default is the chart appVersion. | +| image.tag | string | `"3.16.0-ubuntu"` | 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 | `{"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 b8ecb4da..61895271 100644 --- a/charts/apisix/templates/configmap.yaml +++ b/charts/apisix/templates/configmap.yaml @@ -195,6 +195,13 @@ data: - {{ $env }} {{- end }} {{- end }} + {{- if .Values.apisix.nginx.metaLuaSharedDicts }} + meta: + lua_shared_dict: + {{- range $dict := .Values.apisix.nginx.metaLuaSharedDicts }} + {{ $dict.name }}: {{ $dict.size }} + {{- end }} + {{- end }} http: enable_access_log: {{ .Values.apisix.nginx.logs.enableAccessLog }} {{- if .Values.apisix.nginx.logs.enableAccessLog }} diff --git a/charts/apisix/values.yaml b/charts/apisix/values.yaml index 74aec6ae..045b98a5 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.15.0-ubuntu + tag: 3.16.0-ubuntu # -- set false to use `Deployment`, set true to use `DaemonSet` useDaemonSet: false @@ -479,6 +479,14 @@ apisix: # - name: prometheus-metrics # size: 20m + # -- Override default meta-level [lua_shared_dict](https://github.com/apache/apisix/blob/master/conf/config.yaml.example) settings, + # meta-level shared dicts are shared across both HTTP and stream subsystems. + # Since APISIX 3.16.0, `upstream-healthcheck` is a meta-level shared dict. + # click [here](https://github.com/apache/apisix-helm-chart/blob/master/charts/apisix/values.yaml#L27-L30) to learn the format of a shared dict + metaLuaSharedDicts: [] + # - name: upstream-healthcheck + # size: 10m + discovery: # -- Enable or disable Apache APISIX integration service discovery enabled: false