From 05b013d37880a8bfc483c42b167c8f0b6bfd8b1b Mon Sep 17 00:00:00 2001 From: "d.viti" Date: Wed, 8 Oct 2025 17:51:45 +0200 Subject: [PATCH] Fix ADC global_rules format from array to object MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed global_rules from array format (- id: name) to object format (name:) to match ADC schema requirements. This fixes the lint error: "Invalid input: expected record, received array at global_rules" 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- helm/api7ee-demo-k8s/templates/configmap-adc.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm/api7ee-demo-k8s/templates/configmap-adc.yaml b/helm/api7ee-demo-k8s/templates/configmap-adc.yaml index e026320..c7588ef 100644 --- a/helm/api7ee-demo-k8s/templates/configmap-adc.yaml +++ b/helm/api7ee-demo-k8s/templates/configmap-adc.yaml @@ -130,13 +130,13 @@ data: # Global Rules global_rules: {{- if .Values.api7.plugins.prometheus.enabled }} - - id: prometheus-metrics + prometheus-metrics: plugins: prometheus: prefer_name: true {{- end }} {{- if .Values.api7.plugins.logging.enabled }} - - id: request-logging + request-logging: plugins: http-logger: uri: {{ .Values.api7.plugins.logging.endpoint }}