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
|
||||||
global_rules:
|
global_rules:
|
||||||
{{- if .Values.api7.plugins.prometheus.enabled }}
|
{{- if .Values.api7.plugins.prometheus.enabled }}
|
||||||
- id: prometheus-metrics
|
prometheus-metrics:
|
||||||
plugins:
|
plugins:
|
||||||
prometheus:
|
prometheus:
|
||||||
prefer_name: true
|
prefer_name: true
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .Values.api7.plugins.logging.enabled }}
|
{{- if .Values.api7.plugins.logging.enabled }}
|
||||||
- id: request-logging
|
request-logging:
|
||||||
plugins:
|
plugins:
|
||||||
http-logger:
|
http-logger:
|
||||||
uri: {{ .Values.api7.plugins.logging.endpoint }}
|
uri: {{ .Values.api7.plugins.logging.endpoint }}
|
||||||
|
|||||||
Reference in New Issue
Block a user