Skip to content

0.7x - #20

Merged
sacquatella merged 16 commits into
masterfrom
0.7x
Oct 19, 2026
Merged

0.7x#20
sacquatella merged 16 commits into
masterfrom
0.7x

Conversation

@sacquatella

Copy link
Copy Markdown
Collaborator

Changes between master and 0.7x

Chart version 0.6.3 → 0.7.0, Tock appVersion 25.10.7 → 26.9.0.

0.7x is 13 commits ahead of master (32 files changed, +8,658 / −162). master has no commit missing from 0.7x.

Summary

Area Change
Release Chart 0.7.0, Tock 26.9.0
Truststore Enterprise CA support extended from 2 to 6 components, shared Helm helpers, bug fixes
Pod configuration New generic options on every deployment
Probes New startupProbe, liveness path changes
Admin web New tock_default_namespace and tock_bot_rest_client_request_timeout_ms settings
Documentation LikeC4 model, generated PlantUML diagrams, README updates

1. Release bump

  • charts/tock/Chart.yaml: version: 0.7.0, appVersion: 26.9.0.
  • README.md: install examples now reference --version 0.7.0.

2. Truststore (enterprise CA certificates)

  • Extended coverage: <component>.truststore.{enabled,certSecret} now exists on adminWeb, botApi, buildWorker, duckling, nlpApi and genAiOrchestrator. Before, it existed only on botApi and genAiOrchestrator.
    • Each component with the feature enabled gets a truststore-generator init container.
    • It also gets the /truststore volume mount and the cert-volume / truststore-volume volumes.
    • The configmap sets JAVA_TOOL_OPTIONS=-Djavax.net.ssl.trustStore=/truststore/cacerts ....
  • Bug fix, configmap condition: configmaps tested {{- if .Values.X.truststore }}, which is always true because it tests the whole map. They now test .truststore.enabled.
    • Before: JAVA_TOOL_OPTIONS was always set, even with the feature disabled, and pointed to a non-existent file.
    • Fixed in bot_api and genai_orchestrator. admin_web, build_worker, duckling and nlp_api already use it.
  • Bug fix, restart loop: the init script now runs rm -f /truststore/cacerts before copying.
    • Before: after a node or k3s restart, the emptyDir still held the read-only (0444) cacerts, so the re-run failed with permission denied and the pod went into Init:CrashLoopBackOff.
  • Refactor: the init container and volumes that were copy-pasted in every deployment are now two named templates in _helpers.tpl:
    • truststore.initContainer, called with (dict "root" $ "component" .Values.X).
    • truststore.volumes, called with (dict "component" .Values.X).
  • Docs: README.md.gotmpl has a new section, "Enforce TLS to an external MongoDB with an enterprise certificate".
    • It tells users to append tls=true to global.mongodbUrls.
    • It says to enable the truststore on the 5 Mongo-connected components.
    • It states the limits: no TLS on the bundled Bitnami MongoDB, and no mTLS.

3. New generic deployment options

Added to all component deployments (adminWeb, botApi, buildWorker, duckling, nlpApi, kotlinCompiler, genAiOrchestrator):

  • podAnnotations
  • serviceAccountName
  • priorityClassName
  • terminationGracePeriodSeconds
  • extraEnv
  • extraVolumes / extraVolumeMounts
  • imagePullPolicy on the main containers, from <component>.image.pullPolicy (default IfNotPresent)
  • imagePullPolicy on the check-* init containers, from global.initContainerImage.pullPolicy

The "restart the pod when the configmap changes" comment in admin_web, bot_api and the other deployments was removed. The checksum/config annotation is kept.

4. Probes

  • New startupProbe (<component>.startupProbe.{enabled,initialDelaySeconds,timeoutSeconds,periodSeconds,failureThreshold}) on every HTTP component.
  • Health endpoints:
    • adminWeb and nlpApi keep their existing paths (/rest/admin/healthcheck, honouring botadminverticle_base_href, and /rest/nlp/healthcheck).
    • botApi, buildWorker, duckling and kotlinCompiler now use /healthcheck for the startup probe.
    • Their liveness probes switched from /healthcheck to /health/liveness. This needs a Tock image that exposes it, which matches the 26.9.0 bump.

5. Admin web

  • New environment values in admin_web.configmap.yaml:
    • tock_default_namespace
    • tock_bot_rest_client_request_timeout_ms

6. Documentation and architecture diagrams

  • LikeC4 model: tock.c4 and the .likec4/*.snap files.
  • Generated PlantUML in assets/:
    • index.puml
    • tockOverview.puml
    • tockContainers.puml
    • tockComponentsPG.puml
    • tockComponentsOS.puml
    • tockComponentsPG.svg
  • New make build-doc-assets target in the Makefile: npx likec4 gen plantuml -o ./assets . then PlantUML SVG rendering.
  • README.md now shows assets/tockComponentsPG.svg and describes "Postgres PG Vector as vector database".
  • tock-on-k8s.puml: removed the non-existent build-worker-svc service.
  • Removed the obsolete images plantuml-img.png and tock-24x-on-k8s.png.
  • charts/tock/README.md: regenerated, not reviewed here because the diff wasn't rendered.

7. Other

  • New helper urls.mong-headless in _helpers.tpl. It builds a mongodb://<release>-mongodb-headless.<ns>.svc.<domain>:27017/?replicaSet=<name> URI, or returns global.mongodbUrls when MongoDB is not deployed by the chart.

- Added support for MongoDB headless service URL in _helpers.tpl.
- Enhanced admin_web, bot_api, build_worker, duckling, genai_orchestrator, kotlin_compiler, nlp_api deployments with additional pod annotations, service account names, priority classes, termination grace periods, and startup probes.
- Updated image tags to 26.3.3 and added image pull policies for adminWeb, botApi, buildWorker, duckling, kotlinCompiler, nlpApi, and genAiOrchestrator.
- Introduced extra environment variables, volumes, and volume mounts for flexibility in deployments.
- Commented out resource limits and requests in values.yaml for all services, providing a cleaner configuration.
- Created `tockContainers.puml` for container view representation of Tock components.
- Genrate `*.puml` from likeC4 to have an overview of Tock architecture that can be include in readme.
- Removed obsolete images `plantuml-img.png` and `tock-24x-on-k8s.png`.
- Updated `tock-on-k8s.puml` to remove unused service component for build-worker.
- Modified `tock.c4` to include new views for Tock components and admin/end user interactions.
…e cacerts before copying new certificates in templates (truststore-generator)
…iner and volume definitions for multiple components

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The truststore key mismatch can prevent certificate mounts, while the genAI probe and generated architecture documentation remain incomplete.

6 open findings
What changed in this PR

Updates the chart to 0.7.0/Tock 26.9.0 while expanding deployment customization, truststore support, health probes, and architecture documentation.

Changes:

  • Adds reusable enterprise truststore support and pod configuration options.
  • Introduces startup probes and updated liveness endpoints.
  • Adds LikeC4-generated architecture diagrams and release documentation.
File Description
charts/​tock/​Chart.yaml Bumps chart and application versions.
charts/​tock/​values.yaml Adds component configuration defaults.
charts/​tock/​templates/​_helpers.tpl Adds MongoDB and truststore helpers.
charts/​tock/​templates/​admin_web.deployment.yaml Adds pod options, probe, and truststore.
charts/​tock/​templates/​admin_web.configmap.yaml Adds truststore and admin settings.
charts/​tock/​templates/​bot_api.deployment.yaml Adds pod options and probes.
charts/​tock/​templates/​bot_api.configmap.yaml Corrects truststore condition.
charts/​tock/​templates/​build_worker.deployment.yaml Adds pod options, probes, and truststore.
charts/​tock/​templates/​build_worker.configmap.yaml Configures truststore environment.
charts/​tock/​templates/​duckling.deployment.yaml Adds pod options, probes, and truststore.
charts/​tock/​templates/​duckling.configmap.yaml Configures truststore environment.
charts/​tock/​templates/​genai_orchestrator.deployment.yaml Refactors truststore and pod options.
charts/​tock/​templates/​genai_orchestrator.configmap.yaml Corrects truststore condition.
charts/​tock/​templates/​kotlin_compiler.deployment.yaml Adds pod options and probes.
charts/​tock/​templates/​nlp_api.deployment.yaml Adds pod options, probe, and truststore.
charts/​tock/​templates/​nlp_api.configmap.yaml Configures truststore environment.
charts/​tock/​README.md.gotmpl Documents enterprise CA and MongoDB TLS.
charts/​tock/​README.md Regenerates chart documentation.
README.md Updates installation and architecture references.
Makefile Adds architecture asset generation.
tock.c4 Defines the LikeC4 architecture model.
tock-on-k8s.puml Removes the nonexistent worker service.
assets/​index.puml Adds the generated overall diagram.
assets/​tockOverview.puml Adds the generated system overview.
assets/​tockContainers.puml Adds the generated container view.
assets/​tockComponentsPG.puml Adds the PostgreSQL component view.
assets/​tockComponentsOS.puml Adds the OpenSearch component view.
assets/​tockComponentsPG.svg Adds the rendered README diagram.
.likec4/​index.likec4.snap Stores generated overview layout data.
.likec4/​tockComponentsPG.likec4.snap Stores PostgreSQL view layout data.
plantuml-img.png Removes an obsolete diagram image.
tock-24x-on-k8s.png Removes the superseded architecture image.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread charts/tock/templates/_helpers.tpl Resolved
Comment thread charts/tock/values.yaml Resolved
Comment thread charts/tock/values.yaml Resolved
Comment thread tock.c4 Resolved
Comment thread tock.c4 Resolved
Comment thread tock.c4 Resolved
@zigzago

zigzago commented Oct 11, 2026

Copy link
Copy Markdown
Contributor

@sacquatella copilot has made several comments, take a look at them ;)

@sacquatella

Copy link
Copy Markdown
Collaborator Author

corrections has been done

@zigzago

zigzago commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

corrections has been done

@sacquatella PR approved 👍

@sacquatella
sacquatella merged commit 7180287 into master Oct 19, 2026
1 check passed
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