From 147573bbf56378df4fdb739ec1d8ae035be913a5 Mon Sep 17 00:00:00 2001 From: Jens Date: Thu, 15 Jan 2026 15:25:01 +0100 Subject: [PATCH 1/2] fix spacing for gatewayProxy.plugins and gatewayProxy.pluginMetadata --- charts/apisix-ingress-controller/values.yaml | 38 ++++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/charts/apisix-ingress-controller/values.yaml b/charts/apisix-ingress-controller/values.yaml index da48023f..3797af53 100644 --- a/charts/apisix-ingress-controller/values.yaml +++ b/charts/apisix-ingress-controller/values.yaml @@ -158,25 +158,25 @@ gatewayProxy: # name: apisix-admin-secret # key: admin-key - # -- List of global plugins to be enabled on the GatewayProxy. - plugins: [] - # - name: cors - # enabled: true - # config: - # allow_origins: "*" - # allow_methods: "GET,POST,PUT,DELETE" - # - name: ip-restriction - # enabled: false - # config: - # whitelist: - # - 10.0.0.0/8 - # - 192.168.0.0/16 - - # -- Global plugin metadata shared by all instances of the same plugin. - pluginMetadata: {} - # prometheus: - # disable: false - # export_uri: /apisix/prometheus/metrics + # -- List of global plugins to be enabled on the GatewayProxy. + plugins: [] + # - name: cors + # enabled: true + # config: + # allow_origins: "*" + # allow_methods: "GET,POST,PUT,DELETE" + # - name: ip-restriction + # enabled: false + # config: + # whitelist: + # - 10.0.0.0/8 + # - 192.168.0.0/16 + + # -- Global plugin metadata shared by all instances of the same plugin. + pluginMetadata: {} + # prometheus: + # disable: false + # export_uri: /apisix/prometheus/metrics apisix: adminService: From 8f185cfd04d9c8b901ac9a2df2e61b4f79a9efea Mon Sep 17 00:00:00 2001 From: Jens Date: Fri, 16 Jan 2026 08:49:27 +0100 Subject: [PATCH 2/2] adapting the documentation to reflect the actual values used in code --- charts/apisix-ingress-controller/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/apisix-ingress-controller/README.md b/charts/apisix-ingress-controller/README.md index 5436ab04..3bd3ccef 100644 --- a/charts/apisix-ingress-controller/README.md +++ b/charts/apisix-ingress-controller/README.md @@ -143,6 +143,8 @@ The same for container level, you need to set: | deployment.topologySpreadConstraints | list | `[]` | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-topology-spread-constraints/#spread-constraints-for-pods | | fullnameOverride | string | `""` | | | gatewayProxy.createDefault | bool | `false` | Controls whether to create a default GatewayProxy custom resource. | +| gatewayProxy.pluginMetadata | object | `{}` | Global plugin metadata shared by all instances of the same plugin. | +| gatewayProxy.plugins | list | `[]` | List of global plugins to be enabled on the GatewayProxy. | | gatewayProxy.provider | object | `{"controlPlane":{"auth":{"adminKey":{"value":"edd1c9f034335f136f87ad84b625c8f1","valueFrom":{}},"type":"AdminKey"},"endpoints":[],"service":{"name":"","port":9180}},"pluginMetadata":{},"plugins":[],"type":"ControlPlane"}` | Configuration for the GatewayProxy provider connection | | gatewayProxy.provider.controlPlane | object | `{"auth":{"adminKey":{"value":"edd1c9f034335f136f87ad84b625c8f1","valueFrom":{}},"type":"AdminKey"},"endpoints":[],"service":{"name":"","port":9180}}` | ControlPlane provider specific configuration Either `endpoints` or `service` must be specified, but not both. | | gatewayProxy.provider.controlPlane.auth | object | `{"adminKey":{"value":"edd1c9f034335f136f87ad84b625c8f1","valueFrom":{}},"type":"AdminKey"}` | Authentication configuration for control plane connection | @@ -152,8 +154,6 @@ The same for container level, you need to set: | gatewayProxy.provider.controlPlane.auth.type | string | `AdminKey` | Authentication type. Only `AdminKey` is currently supported. | | gatewayProxy.provider.controlPlane.endpoints | list | `[]` | List of APISIX control plane Admin API endpoints. example: ["http://apisix-admin.default.svc.cluster.local:9180"] | | gatewayProxy.provider.controlPlane.service | object | `{"name":"","port":9180}` | Alternatively, reference a Kubernetes Service for the APISIX Admin API. | -| gatewayProxy.provider.pluginMetadata | object | `{}` | Global plugin metadata shared by all instances of the same plugin. | -| gatewayProxy.provider.plugins | list | `[]` | List of global plugins to be enabled on the GatewayProxy. | | gatewayProxy.provider.type | string | `"ControlPlane"` | Specifies the provider type for the GatewayProxy. | | labelsOverride | object | `{}` | Override default labels assigned to Apache APISIX ingress controller resource | | nameOverride | string | `""` | Default values for apisix-ingress-controller. This is a YAML-formatted file. Declare variables to be passed into your templates. |