diff --git a/opencode-sms-bridge/Chart.yaml b/opencode-sms-bridge/Chart.yaml index 38bf048..4a864f9 100644 --- a/opencode-sms-bridge/Chart.yaml +++ b/opencode-sms-bridge/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: opencode-sms-bridge description: Signed Twilio SMS and MMS bridge for fixed primary OpenCode agents type: application -version: 0.1.1 +version: 0.1.2 appVersion: "1" diff --git a/opencode-sms-bridge/README.md b/opencode-sms-bridge/README.md index 3efe98b..a86f9d2 100644 --- a/opencode-sms-bridge/README.md +++ b/opencode-sms-bridge/README.md @@ -21,6 +21,10 @@ Only a signed request from an approved source number is queued or answered. The Use an immutable published image SHA in `image.tag`; `latest` is only the source-chart default and must never be selected by the GitOps consumer. +## Configuration + +`config.maxMediaBytes` is a quoted decimal string (for example, `"5242880"`). It is rendered into ConfigMap data and consumed by the worker's integer parser; do not use YAML numeric or floating-point notation for this value. + ## Image and audio gates Image parts are disabled by default. Enable `config.imagePartsEnabled` only after the selected OpenCode model and deployed file-part API are functionally verified. Keep `config.whisperUrl` empty until a local Whisper-compatible service, capacity, and retention boundary are selected; audio MMS then receives a bounded non-processing reply rather than unvalidated forwarding. @@ -29,4 +33,4 @@ Image parts are disabled by default. Enable `config.imagePartsEnabled` only afte - Deployment, sync wave `2`, with two hardened containers and a `Recreate` strategy. -The corresponding cluster overlay must place state, Secrets, and Service in wave `1`; the `TunnelBinding` belongs in wave `3`. These waves order only resources within the existing `opencode` child Application. +The corresponding cluster overlay must place the RWO state PVC in wave `2` with the Deployment so `WaitForFirstConsumer` storage can bind. Secrets and the Service may be earlier; the `TunnelBinding` belongs in wave `3`. These waves order only resources within the existing `opencode` child Application. diff --git a/opencode-sms-bridge/values.yaml b/opencode-sms-bridge/values.yaml index 2c5190c..239278b 100644 --- a/opencode-sms-bridge/values.yaml +++ b/opencode-sms-bridge/values.yaml @@ -19,7 +19,8 @@ config: statePath: /state/opencode-sms-bridge.db mediaAllowedHosts: - api.twilio.com - maxMediaBytes: 5242880 + # Keep decimal text intact when Helm renders ConfigMap data for the worker's integer parser. + maxMediaBytes: "5242880" maxAudioSeconds: 120 imagePartsEnabled: false # Set only after a local Whisper-compatible service is selected and validated.