Fix ADC global_rules format from array to object
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user