Skip to content

Rename Plane EE images to dockerhub image repositories#83

Merged
mguptahub merged 10 commits intodevelopfrom
plane-ee-image-rename
Apr 29, 2025
Merged

Rename Plane EE images to dockerhub image repositories#83
mguptahub merged 10 commits intodevelopfrom
plane-ee-image-rename

Conversation

@akshat5302
Copy link
Copy Markdown
Member

@akshat5302 akshat5302 commented Mar 6, 2025

Summary by CodeRabbit

  • New Features

    • Added new environment variables for live server configuration, including a secret key and base URL/path.
  • Chores

    • Updated default Plane version to v1.9.0 across documentation and configuration files.
    • Switched container image references from private registries to public or official repositories for all core services.
    • Updated default Docker registry URL to use Docker Hub.
    • Minor documentation and formatting improvements.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 6, 2025

Walkthrough

This update applies version and image reference changes across the Plane Enterprise Helm chart. The chart and application versions are incremented, and all container image references are switched from a private registry to public or alternative registries. Official Docker Hub images are used for dependencies like Redis, Postgres, and Minio, while Plane service images are updated to use the "artifacts.plane.so/makeplane/*-commercial" path. Documentation and configuration files are updated to reflect these changes. Additionally, a new secret environment variable for the live server is introduced in the configuration and manifests.

Changes

Files/Group Change Summary
charts/plane-enterprise/Chart.yaml, charts/plane-enterprise/values.yaml, charts/plane-enterprise/questions.yml Updated chart and app version numbers from 1.1.8/1.8.3 to 1.1.9/1.9.0; switched all default image references from private registry to public/alternative registries; added new env var for live server secret key.
charts/plane-enterprise/README.md Updated documentation to reflect new Plane version, new image registries, and added documentation for the new live server secret key environment variable.
charts/plane-enterprise/templates/config-secrets/app-env.yaml, charts/plane-enterprise/templates/config-secrets/live-env.yaml Added LIVE_SERVER_SECRET_KEY to secrets; added LIVE_BASE_URL and LIVE_BASE_PATH to config map for live service configuration.
charts/plane-enterprise/templates/workloads/web.deployment.yaml, charts/plane-enterprise/templates/workloads/space.deployment.yaml, charts/plane-enterprise/templates/workloads/admin.deployment.yaml, charts/plane-enterprise/templates/workloads/live.deployment.yaml, charts/plane-enterprise/templates/workloads/monitor.stateful.yaml, charts/plane-enterprise/templates/workloads/silo.deployment.yaml, charts/plane-enterprise/templates/workloads/api.deployment.yaml, charts/plane-enterprise/templates/workloads/beat-worker.deployment.yaml, charts/plane-enterprise/templates/workloads/worker.deployment.yaml, charts/plane-enterprise/templates/workloads/migrator.job.yaml Changed default container image references from private registry to public/alternative registries for all Plane services; updated live deployment startup script from server.js to start.js.

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant HelmChart
    participant Kubernetes
    participant PlaneService
    participant DockerRegistry

    User->>HelmChart: Install/Upgrade chart (v1.1.9 / v1.9.0)
    HelmChart->>Kubernetes: Apply manifests with updated images and env vars
    Kubernetes->>DockerRegistry: Pull images from public/artifacts registry
    Kubernetes->>PlaneService: Inject LIVE_SERVER_SECRET_KEY and new config vars
    PlaneService-->>Kubernetes: Start with updated configuration
Loading

Possibly related PRs

  • makeplane/helm-charts#75: Also updates version and appVersion fields in Chart.yaml for plane-enterprise, reflecting incremental version changes.
  • makeplane/helm-charts#40: Introduces the initial live service deployment and related configuration, which this PR extends by adding a live server secret key and updating image references.

Suggested reviewers

  • mguptahub

Poem

In the meadow of YAML, a new version hops in,
With images now public, let the upgrades begin!
A secret key hidden, for live streams secure,
The registry’s open, the future’s more pure.
From private to public, the containers now run,
Chart 1.1.9—let’s hop into fun!
🐇✨


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
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Comment thread charts/plane-enterprise/Chart.yaml Outdated
Comment thread charts/plane-enterprise/templates/workloads/live.deployment.yaml Outdated
@sriramveeraghanta sriramveeraghanta marked this pull request as ready for review April 29, 2025 09:48
Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 4

🧹 Nitpick comments (4)
charts/plane-enterprise/templates/config-secrets/live-env.yaml (1)

9-9: Consider enforcing an explicit live_server_secret_key instead of using a hardcoded default
Using default "htbqvBJAgpm9bzvf3r4urJer0ENReatceh" may inadvertently expose a static secret in production. Consider replacing default with Helm’s required function to force users to supply their own secret.

charts/plane-enterprise/README.md (1)

111-111: Refine grammar and hyphenation in documentation

  • Change verb usage setupset up where appropriate (lines 111, 126, 153).
  • Adjust “fully-qualified” to “fully qualified” since the adverb ends in “-ly”.

Also applies to: 126-126, 153-153

🧰 Tools
🪛 LanguageTool

[grammar] ~111-~111: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...r must provide the docker image name to setup the stateful deployment of postgres. ...

(NOUN_VERB_CONFUSION)

charts/plane-enterprise/questions.yml (2)

707-713: Nit: align group key for TLS secret
The group: "Ingress" field for ssl.tls_secret_name was moved. Please verify its indentation and grouping match the style of other Ingress-scoped variables to maintain readability.


424-428: Validate Redis image source
You’ve switched Redis to valkey/valkey:7.2.5-alpine. Unless you depend on custom patches in this image, consider using the official redis:7.2.5-alpine for better alignment with upstream security updates.

📜 Review details

Configuration used: .coderabbit.yaml
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 73fc5f0 and b63d67c.

📒 Files selected for processing (16)
  • charts/plane-enterprise/Chart.yaml (1 hunks)
  • charts/plane-enterprise/README.md (12 hunks)
  • charts/plane-enterprise/questions.yml (6 hunks)
  • charts/plane-enterprise/templates/config-secrets/app-env.yaml (2 hunks)
  • charts/plane-enterprise/templates/config-secrets/live-env.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/admin.deployment.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/api.deployment.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/beat-worker.deployment.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/live.deployment.yaml (2 hunks)
  • charts/plane-enterprise/templates/workloads/migrator.job.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/monitor.stateful.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/silo.deployment.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/space.deployment.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/web.deployment.yaml (1 hunks)
  • charts/plane-enterprise/templates/workloads/worker.deployment.yaml (1 hunks)
  • charts/plane-enterprise/values.yaml (7 hunks)
🧰 Additional context used
🪛 LanguageTool
charts/plane-enterprise/README.md

[uncategorized] ~104-~104: Although a hyphen is possible, it is not necessary in a compound modifier in which the first word is an adverb that ends in ‘ly’.
Context: ...eDomain | plane.example.com | Yes | The fully-qualified domain name (FQDN) in the format `sudom...

(HYPHENATED_LY_ADVERB_ADJECTIVE)


[uncategorized] ~110-~110: Possible missing article found.
Context: ...helm chart deployment or can be used as hosted service remotely (e.g. aws rds or simil...

(AI_HYDRA_LEO_MISSING_A)


[grammar] ~111-~111: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...r must provide the docker image name to setup the stateful deployment of postgres. ...

(NOUN_VERB_CONFUSION)


[grammar] ~126-~126: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...r must provide the docker image name to setup the stateful deployment of redis. (mu...

(NOUN_VERB_CONFUSION)


[grammar] ~153-~153: The word “setup” is a noun. The verb is spelled with a white space.
Context: ...r must provide the docker image name to setup the stateful deployment of minio. (mu...

(NOUN_VERB_CONFUSION)


[uncategorized] ~175-~175: You might be missing the article “the” here.
Context: ...preconfigured docker image to function. Docker image name is provided by the owner and...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)


[uncategorized] ~208-~208: You might be missing the article “the” here.
Context: ...preconfigured docker image to function. Docker image name is provided by the owner and...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)


[uncategorized] ~222-~222: You might be missing the article “the” here.
Context: ...preconfigured docker image to function. Docker image name is provided by the owner and...

(AI_EN_LECTOR_MISSING_DETERMINER_THE)

🔇 Additional comments (30)
charts/plane-enterprise/templates/workloads/migrator.job.yaml (1)

18-18: Rename image reference to new commercial registry
The default image for the migrator job has been correctly updated to artifacts.plane.so/makeplane/backend-commercial via .Values.services.api.image.

charts/plane-enterprise/Chart.yaml (1)

8-9: Bump chart and appVersion for v1.9.0 release
The version has been updated to 1.1.9 and appVersion to "1.9.0", aligning the Helm chart with the Plane v1.9.0 release.

charts/plane-enterprise/templates/workloads/silo.deployment.yaml (1)

65-65: Update silo image to commercial registry
The silo container image default has been correctly switched to artifacts.plane.so/makeplane/silo-commercial using .Values.services.silo.image.

charts/plane-enterprise/templates/workloads/api.deployment.yaml (1)

44-44: Update API image to commercial registry
The API deployment image now points to artifacts.plane.so/makeplane/backend-commercial by default via .Values.services.api.image.

charts/plane-enterprise/templates/workloads/space.deployment.yaml (1)

44-44: Image registry updated correctly to public repository.

The default image reference has been switched to artifacts.plane.so/makeplane/space-commercial:{{ .Values.planeVersion }}, aligning with the PR objective. No functional changes detected.

charts/plane-enterprise/templates/workloads/monitor.stateful.yaml (1)

39-39: Consistent migration of monitor image registry.

The monitor container image default has been updated to artifacts.plane.so/makeplane/monitor-commercial:{{ .Values.planeVersion }} in line with other service updates. Approving as is.

charts/plane-enterprise/templates/workloads/admin.deployment.yaml (1)

44-44: Admin image reference correctly updated.

The admin deployment now defaults to using artifacts.plane.so/makeplane/admin-commercial:{{ .Values.planeVersion }}, matching the chart-wide convention.

charts/plane-enterprise/templates/workloads/web.deployment.yaml (1)

44-44: Web image registry updated as expected.

The web service image now points to artifacts.plane.so/makeplane/web-commercial:{{ .Values.planeVersion }}. All other settings remain unchanged.

charts/plane-enterprise/templates/workloads/live.deployment.yaml (2)

44-44: Container image updated to the public commercial repository
The default was changed from makeplane/live-enterprise to artifacts.plane.so/makeplane/live-commercial. This aligns with the PR objective to switch to Docker Hub–hosted images.


57-57: Verify the updated startup script path
The args now reference live/dist/start.js instead of live/dist/server.js. Please confirm that the new entrypoint exists in the container and works as expected.

charts/plane-enterprise/templates/config-secrets/app-env.yaml (2)

10-10: Add LIVE_SERVER_SECRET_KEY to the application secret
The new key mirrors the live-env secret. Ensure that any deployment consuming the app secret references this variable correctly.


60-61: Include base URL and path for the live service
Adding LIVE_BASE_URL and LIVE_BASE_PATH provides the application with its external endpoints for live traffic. This complements the new live deployment configuration.

charts/plane-enterprise/values.yaml (5)

1-1: Ensure Helm chart metadata aligns with the version bump
planeVersion was updated to v1.9.0. Verify that Chart.yaml and appVersion in the chart metadata have been bumped to match.


5-5: Validate the default Docker registry setting
dockerRegistry.enabled is false, yet registry is set to index.docker.io/v1/. Confirm whether this registry value is needed or if the field can be removed since all images now default to public repos.


33-33: Update dependency images to official Docker Hub repositories

  • Redis: valkey/valkey:7.2.5-alpine
  • Postgres: postgres:15.7-alpine
  • Minio: minio/minio:latest
    These changes move away from the private registry. Please confirm version compatibility and vet for any known CVEs.

Also applies to: 41-41, 61-61


75-75: Approve core Plane service image repository updates
Service images have been switched from registry.plane.tools/plane/*-enterprise to artifacts.plane.so/makeplane/*-commercial. This fully addresses the PR’s objective to rename and rehost images.

Also applies to: 82-82, 91-91, 99-99, 107-107, 134-134


115-115: Confirm API service image naming convention
The API service defaults to artifacts.plane.so/makeplane/backend-commercial. Ensure this aligns with your internal naming conventions (e.g., api-commercial vs. backend-commercial).

charts/plane-enterprise/README.md (3)

14-14: Update installation example to v1.9.0
The step now sets PLANE_VERSION=v1.9.0. This matches the latest release and should be verified before publishing.


68-68: Document default planeVersion in custom values
The docs now recommend planeVersion: v1.9.0 in the values.yaml snippet. This is consistent with the chart version bump.


213-213: Document the env.live_server_secret_key setting
The new env.live_server_secret_key is listed with its default. Consider clarifying that users must provide a secure value for production.

charts/plane-enterprise/questions.yml (10)

20-26: Ensure version consistency across chart metadata
The planeVersion default is updated to v1.9.0, which matches the intended image tag bump. Please verify that your Chart.yaml (in both version and/or appVersion) and values.yaml have been updated accordingly—especially regarding whether you include the leading v or not—to avoid mismatches at deploy time.


27-31: Switch web service image to public DockerHub repository
Updating services.web.image to artifacts.plane.so/makeplane/web-commercial aligns with the new DockerHub paths. Double-check that in your deployment templates you append the :{{ .Values.planeVersion }} tag to form the full image reference.


32-36: Switch space service image to public DockerHub repository
The services.space.image default is now artifacts.plane.so/makeplane/space-commercial. Ensure your Helm templates concatenate this with {{ .Values.planeVersion }} so the chart pulls the correct version.


37-41: Switch admin service image to public DockerHub repository
The default for services.admin.image has been updated to artifacts.plane.so/makeplane/admin-commercial. Verify your manifests use the planeVersion tag in combination with this image.


42-46: Switch live service image to public DockerHub repository
Setting services.live.image to artifacts.plane.so/makeplane/live-commercial is correct. Confirm that live deployments reference the new image plus the planeVersion suffix.


47-51: Switch monitor service image to public DockerHub repository
The services.monitor.image default now points at artifacts.plane.so/makeplane/monitor-commercial. Double-check your StatefulSet or Deployment templates for correct tag interpolation.


52-56: Switch silo service image to public DockerHub repository
The services.silo.image default has been updated to artifacts.plane.so/makeplane/silo-commercial. Make sure your silo helm templates reference :{{ .Values.planeVersion }} to pull the intended release.


57-61: Switch backend (API) service image to public DockerHub repository
Updating services.api.image to artifacts.plane.so/makeplane/backend-commercial is consistent. Ensure your API, worker, and beat-worker manifests all derive their image from this variable plus the planeVersion tag.


465-469: Switch to official Postgres image
Using postgres:15.7-alpine is appropriate for hitting the official Postgres repo on DockerHub and benefits from upstream updates.


575-579: Switch to official Minio image
The default minio/minio:latest is the upstream Minio image on DockerHub. This is the recommended public source.

Comment on lines 21 to 23
imagePullPolicy: {{ .Values.services.api.pullPolicy | default "Always" }}
image: {{ .Values.services.api.image | default "registry.plane.tools/plane/backend-enterprise" }}:{{ .Values.planeVersion }}
image: {{ .Values.services.api.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
stdin: true
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix service-specific image and pullPolicy values
The beat-worker deployment currently references the API service’s values (.Values.services.api.*) instead of its own. This will break overrides for the beat-worker.

Apply this diff:

-        imagePullPolicy:  {{ .Values.services.api.pullPolicy | default "Always" }}
+        imagePullPolicy:  {{ .Values.services.beatworker.pullPolicy | default "Always" }}
-        image: {{ .Values.services.api.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
+        image: {{ .Values.services.beatworker.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
📝 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
imagePullPolicy: {{ .Values.services.api.pullPolicy | default "Always" }}
image: {{ .Values.services.api.image | default "registry.plane.tools/plane/backend-enterprise" }}:{{ .Values.planeVersion }}
image: {{ .Values.services.api.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
stdin: true
imagePullPolicy: {{ .Values.services.beatworker.pullPolicy | default "Always" }}
image: {{ .Values.services.beatworker.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
stdin: true
🧰 Tools
🪛 YAMLlint (1.35.1)

[warning] 21-21: too many spaces after colon

(colons)

Comment on lines 21 to +22
imagePullPolicy: {{ .Values.services.api.pullPolicy | default "Always" }}
image: {{ .Values.services.api.image | default "registry.plane.tools/plane/backend-enterprise" }}:{{ .Values.planeVersion }}
image: {{ .Values.services.api.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Fix service variable references for worker container.

It appears the worker deployment mistakenly references .Values.services.api for pullPolicy and image. These should point to .Values.services.worker to correctly use the worker service settings.

Apply the following diff:

-        imagePullPolicy: {{ .Values.services.api.pullPolicy | default "Always" }}
-        image: {{ .Values.services.api.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
+        imagePullPolicy: {{ .Values.services.worker.pullPolicy | default "Always" }}
+        image: {{ .Values.services.worker.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
📝 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
imagePullPolicy: {{ .Values.services.api.pullPolicy | default "Always" }}
image: {{ .Values.services.api.image | default "registry.plane.tools/plane/backend-enterprise" }}:{{ .Values.planeVersion }}
image: {{ .Values.services.api.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}
imagePullPolicy: {{ .Values.services.worker.pullPolicy | default "Always" }}
image: {{ .Values.services.worker.image | default "artifacts.plane.so/makeplane/backend-commercial" }}:{{ .Values.planeVersion }}

Comment thread charts/plane-enterprise/values.yaml
Comment on lines +196 to 200
- variable: env.live_server_secret_key
label: "Live Server Secret Key"
type: string
default: "htbqvBJAgpm9bzvf3r4urJer0ENReatceh"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

⚠️ Potential issue

Security risk: avoid hardcoded default secret
Hardcoding env.live_server_secret_key to a fixed value exposes every installation to the same secret. It’s safer to default this to an empty string and mark it as required, forcing users to supply their own unique key. For example:

- default: "htbqvBJAgpm9bzvf3r4urJer0ENReatceh"
+ required: true
+ default: ""
📝 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
- variable: env.live_server_secret_key
label: "Live Server Secret Key"
type: string
default: "htbqvBJAgpm9bzvf3r4urJer0ENReatceh"
- variable: env.live_server_secret_key
label: "Live Server Secret Key"
type: string
required: true
default: ""

@mguptahub mguptahub merged commit b8aa686 into develop Apr 29, 2025
3 checks passed
@mguptahub mguptahub deleted the plane-ee-image-rename branch April 29, 2025 09:58
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.

3 participants