Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ data:
# ==============================================================================
# WARNING: Webhook URLs must be explicitly set in values.yaml or values-<env>.yaml
# Leaving empty disables external webhook delivery for safety
WEBHOOK_DEFAULT_URL: {{ .Values.outbound.configmap.WEBHOOK_DEFAULT_URL | default "" | quote }}
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟡 Minor

Fix template brace spacing to satisfy YAMLlint.

Line 93 is currently flagged by YAMLlint (braces) in this PR. Please normalize the template braces on this line to avoid lint failure.

Suggested fix
-  WEBHOOK_DEFAULT_URL: {{ .Values.outbound.configmap.WEBHOOK_DEFAULT_URL | default "" | quote }}
+  WEBHOOK_DEFAULT_URL: {{.Values.outbound.configmap.WEBHOOK_DEFAULT_URL | default "" | quote}}
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
WEBHOOK_DEFAULT_URL: {{ .Values.outbound.configmap.WEBHOOK_DEFAULT_URL | default "" | quote }}
WEBHOOK_DEFAULT_URL: {{.Values.outbound.configmap.WEBHOOK_DEFAULT_URL | default "" | quote}}
🧰 Tools
🪛 YAMLlint (1.38.0)

[error] 93-93: too many spaces inside braces

(braces)


[error] 93-93: too many spaces inside braces

(braces)

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@charts/plugin-br-pix-indirect-btg/templates/outbound/configmap.yaml` at line
93, Normalize the Helm template brace spacing for the WEBHOOK_DEFAULT_URL entry
so it uses a single space after the opening braces and before the closing
braces; update the template expression for WEBHOOK_DEFAULT_URL to "{{
.Values.outbound.configmap.WEBHOOK_DEFAULT_URL | default \"\" | quote }}"
(adjusting only the brace spacing around the existing
.Values.outbound.configmap.WEBHOOK_DEFAULT_URL expression) to satisfy YAMLlint.

WEBHOOK_CLIENT_URL: {{ .Values.outbound.configmap.WEBHOOK_CLIENT_URL | default "" | quote }}
WEBHOOK_WORKER_TIMEOUT: {{ .Values.outbound.configmap.WEBHOOK_WORKER_TIMEOUT | default "10s" | quote }}
WEBHOOK_WORKER_BACKOFF_MULTIPLIER: {{ .Values.outbound.configmap.WEBHOOK_WORKER_BACKOFF_MULTIPLIER | default "2" | quote }}
Expand Down
1 change: 1 addition & 0 deletions charts/plugin-br-pix-indirect-btg/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -427,6 +427,7 @@ outbound:
# Redis Configuration
REDIS_HOST: "plugin-br-pix-indirect-btg-valkey-master.midaz-plugins.svc.cluster.local"
# Webhook URLs (Client-specific)
WEBHOOK_DEFAULT_URL: ""
WEBHOOK_CLIENT_URL: ""
WEBHOOK_DICT_CLAIM_URL: ""
WEBHOOK_DICT_INFRACTION_REPORT_URL: ""
Expand Down
Loading