Skip to content

[INFRA-414] feat: add DRAWIO_EMBED_URL env to plane-enterprise chart#245

Open
akshat5302 wants to merge 2 commits into
masterfrom
feat/infra-414-drawio-embed-url
Open

[INFRA-414] feat: add DRAWIO_EMBED_URL env to plane-enterprise chart#245
akshat5302 wants to merge 2 commits into
masterfrom
feat/infra-414-drawio-embed-url

Conversation

@akshat5302

@akshat5302 akshat5302 commented Jun 15, 2026

Copy link
Copy Markdown
Member

Description

Adds the DRAWIO_EMBED_URL environment variable (default empty) to the plane-enterprise chart so operators can point the Wiki editor's diagram extension at a self-hosted drawio endpoint instead of the diagrams.net cloud.

  • templates/config-secrets/app-env.yaml — renders DRAWIO_EMBED_URL into the app-vars ConfigMap, alongside other API settings (SENTRY_DSN, INTAKE_EMAIL_DOMAIN, etc.).
  • values.yaml — adds env.drawio_embed_url: '' with a documenting comment.

When empty, the backend defaults to the diagrams.net cloud, so this is a safe, non-breaking addition. Mirrors the same change made across the docker-compose deployments.

Verified with helm template — renders DRAWIO_EMBED_URL: "" by default.

Community (plane-ce) chart intentionally untouched: drawio is an EE feature.

References

  • INFRA-414

Summary by CodeRabbit

Release Notes

  • New Features
    • Added a new env.drawio_embed_url configuration option to support a self-hosted diagrams.net/draw.io endpoint for the Wiki editor’s diagram extension. Leaving it empty keeps the default cloud behavior.
  • Documentation
    • Updated the chart README to describe the new env.drawio_embed_url setting.
  • Chores
    • Bumped the Helm chart version to 2.5.2.

Adds the DRAWIO_EMBED_URL config var (default empty) to the
plane-enterprise app-vars ConfigMap and values.yaml so operators can
point the Wiki editor's diagram extension at a self-hosted drawio
endpoint. Empty preserves the diagrams.net cloud default.

Co-Authored-By: WOZCODE <contact@withwoz.com>
@coderabbitai

coderabbitai Bot commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1e34e270-01f1-455b-a0fb-d8ca7923646d

📥 Commits

Reviewing files that changed from the base of the PR and between bedfa7e and 4b94b16.

📒 Files selected for processing (3)
  • charts/plane-enterprise/Chart.yaml
  • charts/plane-enterprise/README.md
  • charts/plane-enterprise/questions.yml
✅ Files skipped from review due to trivial changes (2)
  • charts/plane-enterprise/Chart.yaml
  • charts/plane-enterprise/README.md

Walkthrough

A new drawio_embed_url configuration key is added to the Helm chart, allowing operators to specify a self-hosted draw.io endpoint URL. The value is defined in values.yaml with an empty-string default, wired into the app-env ConfigMap template as the DRAWIO_EMBED_URL environment variable, documented in the README, exposed as a UI configuration prompt in questions.yml, and the chart version is incremented to 2.5.2.

Changes

DRAWIO_EMBED_URL Configuration

Layer / File(s) Summary
Configuration value and ConfigMap wiring
charts/plane-enterprise/values.yaml, charts/plane-enterprise/templates/config-secrets/app-env.yaml
drawio_embed_url is declared in values.yaml with an empty-string default and comments; the app-env ConfigMap template reads .Values.env.drawio_embed_url and emits it as DRAWIO_EMBED_URL, defaulting to "" when unset.
Documentation and UI configuration
charts/plane-enterprise/README.md, charts/plane-enterprise/questions.yml, charts/plane-enterprise/Chart.yaml
README.md documents env.drawio_embed_url as an optional setting for self-hosted draw.io endpoints; questions.yml adds a UI prompt ("Drawio Embed URL") for operator configuration during deployment; chart version bumped from 2.5.1 to 2.5.2.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Poem

A rabbit hops through configs with glee,
Adding draw.io URLs, one, two, three!
🐇 Self-hosted or cloud, the choice is yours,
Just set the value and open the doors.
Empty string means diagrams.net flies free! ✏️

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main change: adding DRAWIO_EMBED_URL environment variable to the plane-enterprise Helm chart.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/infra-414-drawio-embed-url

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@makeplane

makeplane Bot commented Jun 15, 2026

Copy link
Copy Markdown

Linked to Plane Work Item(s)

This comment was auto-generated by Plane

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.

1 participant