From e3c14318297bb571fc8b27facc3a5340fd79d7db Mon Sep 17 00:00:00 2001 From: Benjamin Borbe Date: Sat, 4 Jul 2026 20:22:40 +0200 Subject: [PATCH] default controllers[].logLevel to 2 to prevent empty -v= crashloop (chart 0.3.1) --- CHANGELOG.md | 3 +++ helm/Chart.yaml | 2 +- helm/templates/controller-statefulset.yaml | 2 +- 3 files changed, 5 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 22e8f62..07a026f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,9 @@ Please choose versions by [Semantic Versioning](http://semver.org/). * MINOR version when you add functionality in a backwards-compatible manner, and * PATCH version when you make backwards-compatible bug fixes. +## Unreleased +- helm(controller): default `controllers[].logLevel` to `"2"` so a controller entry that omits it renders `-v=2` instead of the empty `-v=` that glog rejects (which crashlooped the pod printing usage). Matches the executor's existing default. Chart 0.3.0 → 0.3.1. + ## v0.75.0 - BREAKING(helm): replace the single `controller:` values block with a `controllers:` list so multiple per-vault controllers (e.g. openclaw + personal) install from one release; each entry renders `agent-task-controller-` StatefulSet + Service + Secret. Chart 0.2.0 → 0.3.0. - **Migration (0.2.0 → 0.3.0):** `controllers:` defaults to `[]` (empty), so an existing install that set `controller.enabled: true` renders ZERO controllers until migrated. Move the old block into a one-item list and add a `name`: diff --git a/helm/Chart.yaml b/helm/Chart.yaml index d114baa..865b0e6 100644 --- a/helm/Chart.yaml +++ b/helm/Chart.yaml @@ -3,7 +3,7 @@ name: agent description: bborbe agent framework — event-driven, Kafka-based, K8s-native task platform (controller, executor, and example agents) type: application # Chart version — bumped on chart changes, independent of appVersion. -version: 0.3.0 +version: 0.3.1 # Default image tag for the framework components when values don't override. appVersion: "0.3.1" home: https://github.com/bborbe/agent diff --git a/helm/templates/controller-statefulset.yaml b/helm/templates/controller-statefulset.yaml index f6d715a..e3a987e 100644 --- a/helm/templates/controller-statefulset.yaml +++ b/helm/templates/controller-statefulset.yaml @@ -57,7 +57,7 @@ spec: {{- toYaml . | nindent 12 }} {{- end }} args: - - -v={{ $c.logLevel }} + - -v={{ $c.logLevel | default "2" }} env: - name: LISTEN value: ':9090'