Fix ADC global_rules format from array to object
All checks were successful
Helm Chart Build / lint-only (push) Has been skipped
Helm Chart Build / build-helm (push) Successful in 9s
Build and Deploy / build-api (push) Successful in 49s
Build and Deploy / build-web (push) Successful in 1m3s

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:
d.viti
2025-10-08 17:51:45 +02:00
parent 104f7a21ff
commit 05b013d378

View File

@@ -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 }}