Skip to content

Harden n8n defaults and enable key rotation - #384

Merged
junminahn merged 2 commits into
mainfrom
feat/CCP-5054
Jul 23, 2026
Merged

junminahn merged 2 commits into
mainfrom
feat/CCP-5054

Conversation

@junminahn

@junminahn junminahn commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

This change updates the Helm values for the n8n deployment to improve security defaults, enable encryption key rotation across environments, and turn on the scheduler in the shared main chart defaults.

What changed

  • Enabled N8N_ENV_FEAT_ENCRYPTION_KEY_ROTATION in dev, test, and prod values for both gold and golddr deployments.
  • Added production SSRF protections:
    • N8N_SSRF_PROTECTION_ENABLED=true
    • N8N_SSRF_ALLOWED_HOSTNAMES=*.svc.cluster.local
  • Set EXECUTIONS_DATA_MAX_AGE=8784 in prod to retain execution data for roughly one year.
  • Tightened shared chart defaults in values.yaml:
    • disabled version notifications
    • disabled public API Swagger UI
    • enabled the scheduler via N8N_SCHEDULER_ENABLED=true
    • excluded the Execute Command node alongside other globally disabled nodes

Notes

These updates reduce exposure in deployed environments while keeping the configuration aligned across the current environment-specific values files. Enabling the scheduler in the shared main values ensures scheduled workflows can run by default in deployments using these chart settings.

Files changed

  • helm/main/values.yaml
  • helm/main/values-c89a45-dev-gold.yaml
  • helm/main/values-c89a45-dev-golddr.yaml
  • helm/main/values-c89a45-prod-gold.yaml
  • helm/main/values-c89a45-prod-golddr.yaml
  • helm/main/values-c89a45-test-gold.yaml
  • helm/main/values-c89a45-test-golddr.yaml

@ratheesh-aot ratheesh-aot left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@junminahn
junminahn merged commit 4af5710 into main Jul 23, 2026
5 checks passed
@junminahn
junminahn deleted the feat/CCP-5054 branch July 23, 2026 17:10
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants