Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

plane-enterprise: live-exporter loses LIVE_SERVER_SECRET_KEY when external_secrets.app_keys_existingSecret is set

Open Beginner friendly
#332 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
1/5
Estimated time
1-3 hours
Newbie friendliness
94/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
helm

Research direction

Start with live-exporter.deployment.yaml and compare its envFrom entries with live.deployment.yaml, especially the plane.appKeysSecretRef include. Render the chart with external_secrets.app_keys_existingSecret set and verify that live-exporter receives LIVE_SERVER_SECRET_KEY from the app-keys Secret. Done means the key is retained with the hook enabled and existing containers remain unchanged.

Written by the indexing model from the issue text.

Description

Summary

With external_secrets.app_keys_existingSecret set, the chart stops emitting the shared
signing keys in its own Secrets (as documented), including LIVE_SERVER_SECRET_KEY in
<release>-live-secrets. Consumers are expected to pick the key up from the app-keys
Secret via plane.appKeysSecretRef.

live.deployment.yaml includes plane.appKeysSecretRef (last in envFrom), but
live-exporter.deployment.yaml does not. live-exporter mounts <release>-live-secrets,
so as soon as the app-keys hook is enabled it silently loses LIVE_SERVER_SECRET_KEY.

The comment next to the include in live.deployment.yaml describes the consequence:
the app and live copies of LIVE_SERVER_SECRET_KEY must agree "or live-server auth
fails with nothing logged". For live-exporter the key is not merely different but absent.

Affected versions

  • plane-enterprise 3.8.0 (appVersion 3.2.2) — reproduced
  • master at chart 3.10.0 (appVersion 3.3.0) — the template is unchanged, still no include

Reproduction

  1. Render with the app-keys hook enabled, e.g.
    helm template plane-app plane/plane-enterprise --version 3.8.0 -f values.yaml
    with external_secrets.app_keys_existingSecret: plane-ext-app-keys and the six keys
    (SECRET_KEY, AES_SECRET_KEY, LIVE_SERVER_SECRET_KEY, PI_INTERNAL_SECRET,
    SILO_HMAC_SECRET_KEY, CURSOR_WEBHOOK_SECRET) supplied in that Secret.
  2. Resolve the effective environment of the live-exporter container (envFrom in order,
    then env) and compare it with a render without the hook.
  3. Result: LIVE_SERVER_SECRET_KEY is missing from live-exporter. Every other container
    keeps it.

Fix

Add the include as the last envFrom entry, mirroring live.deployment.yaml:

           {{- with (include "plane.otel.envFrom" $) }}{{ . | nindent 10 }}{{- end }}
+          {{- /* LAST in envFrom, as in live.deployment.yaml: live-exporter reads the
+                 live-secrets copy of LIVE_SERVER_SECRET_KEY, which the chart stops
+                 emitting once app_keys_existingSecret is set. */}}
+          {{- include "plane.appKeysSecretRef" . }}
         env:

Verified by rendering the patched chart: live-exporter keeps LIVE_SERVER_SECRET_KEY
with the identical value; no container loses any variable.

Workaround until released

extraEnv:
  - name: LIVE_SERVER_SECRET_KEY
    valueFrom:
      secretKeyRef:
        name: <app-keys-secret>
        key: LIVE_SERVER_SECRET_KEY

Verified the same way against the unpatched 3.8.0 chart.

Dominant language
Go Template
Stars
22
Forks
31
Avg merge
23h 42m
Merged PRs (30d)
12

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from makeplane/helm-charts

All issues in makeplane/helm-charts

Similar issues

More DevOps issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.