feat(relay-control): mount Desktop feed file-signer keys from an existing Secret
Merged
KH
19d ago+156+156+012345678901234567890123456789-9-9-0123456789
relay-control 0.5.24 (PR138) can sign the Desktop feed with an Ed25519 key file, but the chart had no way to mount one. This adds desktopFeed.signingKeys:
relay-control:
desktopFeed:
signingKeys:
existingSecret: desktop-feed-keys # keys: <profile>.pem
profiles: [example-profile]
- Mounts the keys read-only at
/var/run/desktop-feed/<profile>.pem(mode 0440, fsGroup 1000, which the file signer accepts), and setsSELFHOST_DESKTOP_FEED_SIGNER=fileandSELFHOST_DESKTOP_FEED_KEY_FILES. - Fails the render if a Secret is set with no profiles, or a profile id is malformed.
- Storage and the key label stay in
extraEnv(S3 today; GCS storage is coming in relay-control). - Off by default. relay-control chart 0.4.18, carried by agent-relay 0.7.18 (rebased past #354). New CI values file
ci/desktop-feed-values.yaml. The requirements registry and the subdomain golden render pass.
First user: the GCP POC's signed Desktop feed.
🤖 Generated with Claude Code
![Autofix with [code]smith](https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark-3x.png)
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
Summary by cubic
Bumps relay-control to 0.4.18 so the Desktop feed can be signed with Ed25519 keys mounted from an existing Secret, enabling the file signer introduced in relay-control 0.5.24.
- Adds
desktopFeed.signingKeysvalues: anexistingSecretname and aprofileslist. Each profile's<profile>.pemkey is mounted read-only at/var/run/desktop-feed/<profile>.pem(mode 0440, fsGroup 1000), and the chart setsSELFHOST_DESKTOP_FEED_SIGNER=fileplusSELFHOST_DESKTOP_FEED_KEY_FILES. - Fails rendering if
existingSecretis set with no profiles, or a profile id is malformed. Profile ids must match^[a-z0-9]{1,32}$. - The two feed env vars are rejected in
extraEnvonly whensigningKeysis on, so existing AWS installs keep settingSELFHOST_DESKTOP_FEED_SIGNER=awskms. - Off by default; default renders are unchanged. Feed storage and key label are still configured through
extraEnv. - Registers the new option in
self-hosted/requirements.yamland adds a CI values file with a golden render.