chore: support standalone (#839)
diff --git a/README.md b/README.md
index 580e668..c72646b 100644
--- a/README.md
+++ b/README.md
@@ -30,10 +30,10 @@
## Compatibility matrix
| | APISIX | APISIX Ingress | [DEPRECATED] APISIX Dashboard |
-| :--------: | :----: | :------------: | :--------------: |
-| Chart v2.x | v3.x | v1.x | v3.x |
-| Chart v1.x | v3.x | v1.x | v3.x |
-| Chart v0.x | v2.x | v1.x | v2.x |
+|:----------:|:------:|:--------------:|:-----------------------------:|
+| Chart v2.x | v3.x | v1.x v2.x | v3.x |
+| Chart v1.x | v3.x | v1.x | v3.x |
+| Chart v0.x | v2.x | v1.x | v2.x |
## Changelogs
diff --git a/charts/apisix/Chart.lock b/charts/apisix/Chart.lock
index fe7b0bf..c410d7e 100644
--- a/charts/apisix/Chart.lock
+++ b/charts/apisix/Chart.lock
@@ -7,6 +7,6 @@
version: 0.8.2
- name: apisix-ingress-controller
repository: https://charts.apiseven.com
- version: 0.14.0
-digest: sha256:8d727979670a2b62af7672c36ebb2a4d294bc967b16fb5d1e144ed77c948062d
-generated: "2024-04-29T09:07:03.535941+02:00"
+ version: 1.0.1
+digest: sha256:a05753b8273b1b0e64d5ad94acc325f6191480277ae245bd23d95b696ff72cfc
+generated: "2025-07-03T18:18:51.915886+08:00"
diff --git a/charts/apisix/Chart.yaml b/charts/apisix/Chart.yaml
index 86a79e2..2cd5396 100644
--- a/charts/apisix/Chart.yaml
+++ b/charts/apisix/Chart.yaml
@@ -31,7 +31,7 @@
# 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.11.0
+version: 2.11.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
@@ -51,7 +51,7 @@
condition: dashboard.enabled
alias: dashboard
- name: apisix-ingress-controller
- version: 0.14.0
+ version: 1.0.1
repository: https://charts.apiseven.com
condition: ingress-controller.enabled
alias: ingress-controller
diff --git a/charts/apisix/README.md b/charts/apisix/README.md
index 43caee8..b0dbf95 100644
--- a/charts/apisix/README.md
+++ b/charts/apisix/README.md
@@ -67,6 +67,7 @@
| apisix.customPlugins.plugins[0].configMap.name | string | `"configmap-name"` | name of configmap. |
| apisix.deployment.mode | string | `"traditional"` | Apache APISIX deployment mode Optional: traditional, decoupled, standalone ref: https://apisix.apache.org/docs/apisix/deployment-modes/ |
| apisix.deployment.role | string | `"traditional"` | Deployment role Optional: traditional, data_plane, control_plane ref: https://apisix.apache.org/docs/apisix/deployment-modes/ |
+| apisix.deployment.role_traditional.config_provider | string | `"etcd"` | |
| apisix.discovery.enabled | bool | `false` | Enable or disable Apache APISIX integration service discovery |
| apisix.discovery.registry | object | `{}` | Registry is the same to the one in APISIX [config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml#L281), and refer to such file for more setting details. also refer to [this documentation for integration service discovery](https://apisix.apache.org/docs/apisix/discovery) |
| apisix.dns.resolvers[0] | string | `"127.0.0.1"` | |
@@ -122,6 +123,8 @@
| apisix.ssl.existingCASecret | string | `""` | Specifies the name of Secret contains trusted CA certificates in the PEM format used to verify the certificate when APISIX needs to do SSL/TLS handshaking with external services (e.g. etcd) |
| apisix.ssl.fallbackSNI | string | `""` | Define SNI to fallback if none is presented by client |
| apisix.ssl.sslProtocols | string | `"TLSv1.2 TLSv1.3"` | TLS protocols allowed to use. |
+| apisix.status.ip | string | `"0.0.0.0"` | |
+| apisix.status.port | int | `7085` | |
| apisix.stream_plugins | list | `[]` | Customize the list of APISIX stream_plugins to enable. By default, APISIX's default stream_plugins are automatically used. See [config-default.yaml](https://github.com/apache/apisix/blob/master/conf/config-default.yaml) |
| apisix.vault.enabled | bool | `false` | Enable or disable the vault integration |
| apisix.vault.host | string | `""` | The host address where the vault server is running. |
@@ -184,7 +187,7 @@
| image.repository | string | `"apache/apisix"` | Apache APISIX image repository |
| image.tag | string | `"3.13.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-controller | object | `{"enabled":false}` | Ingress controller configuration |
| ingress.annotations | object | `{}` | Ingress annotations |
| ingress.servicePort | number | `nil` | Service port to send traffic. Defaults to `service.http.servicePort`. |
| initContainer.image | string | `"busybox"` | Init container image |
diff --git a/charts/apisix/charts/apisix-ingress-controller-0.14.0.tgz b/charts/apisix/charts/apisix-ingress-controller-0.14.0.tgz
deleted file mode 100644
index 9d8693f..0000000
--- a/charts/apisix/charts/apisix-ingress-controller-0.14.0.tgz
+++ /dev/null
Binary files differ
diff --git a/charts/apisix/charts/apisix-ingress-controller-1.0.1.tgz b/charts/apisix/charts/apisix-ingress-controller-1.0.1.tgz
new file mode 100644
index 0000000..5b09423
--- /dev/null
+++ b/charts/apisix/charts/apisix-ingress-controller-1.0.1.tgz
Binary files differ
diff --git a/charts/apisix/templates/configmap.yaml b/charts/apisix/templates/configmap.yaml
index 00681d8..e57df0b 100644
--- a/charts/apisix/templates/configmap.yaml
+++ b/charts/apisix/templates/configmap.yaml
@@ -169,6 +169,12 @@
{{- if and .Values.apisix.ssl.enabled .Values.apisix.ssl.fallbackSNI }}
fallback_sni: {{ .Values.apisix.ssl.fallbackSNI | quote }}
{{- end }}
+ {{- $useTraditionalYaml := and (eq .Values.apisix.deployment.role "traditional") (eq .Values.apisix.deployment.role_traditional.config_provider "yaml") }}
+ {{- if $useTraditionalYaml }}
+ status:
+ ip: {{ default "127.0.0.1" .Values.apisix.status.ip }}
+ port: {{ default "7085" (.Values.apisix.status.port | toString) }}
+ {{- end}}
nginx_config: # config for render the template to genarate nginx.conf
error_log: "{{ .Values.apisix.nginx.logs.errorLog }}"
@@ -299,7 +305,7 @@
{{- if eq .Values.apisix.deployment.role "traditional" }}
role_traditional:
- config_provider: etcd
+ config_provider: {{ default "etcd" .Values.apisix.deployment.role_traditional.config_provider }}
{{- end }}
{{- if eq .Values.apisix.deployment.role "control_plane" }}
diff --git a/charts/apisix/templates/deployment.yaml b/charts/apisix/templates/deployment.yaml
index 6e8c9f0..1c4102e 100644
--- a/charts/apisix/templates/deployment.yaml
+++ b/charts/apisix/templates/deployment.yaml
@@ -59,6 +59,7 @@
priorityClassName: {{ . }}
{{- end }}
containers:
+ {{- $useTraditionalYaml := and (eq .Values.apisix.deployment.role "traditional") (eq .Values.apisix.deployment.role_traditional.config_provider "yaml") }}
- name: {{ .Chart.Name }}
{{- with .Values.securityContext }}
securityContext:
@@ -153,6 +154,11 @@
{{- end }}
{{- end }}
{{- end }}
+ {{- if $useTraditionalYaml }}
+ - name: status
+ containerPort: {{ default 7085 .Values.apisix.status.port }}
+ protocol: TCP
+ {{- end}}
{{- if ne .Values.apisix.deployment.role "control_plane" }}
readinessProbe:
@@ -160,8 +166,14 @@
initialDelaySeconds: 10
periodSeconds: 10
successThreshold: 1
+ {{- if $useTraditionalYaml }}
+ httpGet:
+ path: /status/ready
+ port: {{ default 7085 .Values.apisix.status.port }}
+ {{- else }}
tcpSocket:
port: {{ .Values.service.http.containerPort }}
+ {{- end}}
timeoutSeconds: 1
{{- end }}
lifecycle:
diff --git a/charts/apisix/values.yaml b/charts/apisix/values.yaml
index 036035c..abf896d 100644
--- a/charts/apisix/values.yaml
+++ b/charts/apisix/values.yaml
@@ -349,6 +349,9 @@
#
# ref: https://apisix.apache.org/docs/apisix/deployment-modes/
role: "traditional"
+ role_traditional:
+ # enum: etcd, yaml
+ config_provider: "etcd"
admin:
# -- Enable Admin API
@@ -573,6 +576,10 @@
- key: "the-file-name"
path: "mount-path"
+ status:
+ ip: "0.0.0.0"
+ port: 7085
+
# -- external etcd configuration. If etcd.enabled is false, these configuration will be used.
externalEtcd:
# -- if etcd.enabled is false, use external etcd, support multiple address, if your etcd cluster enables TLS, please use https scheme, e.g. https://127.0.0.1:2379.
@@ -649,6 +656,3 @@
# -- Ingress controller configuration
ingress-controller:
enabled: false
- config:
- apisix:
- adminAPIVersion: "v3"