Repository navigation
0.7x - #20
Merged
Merged
0.7x#20
Conversation
- 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
There was a problem hiding this comment.
🟡 Changes recommended
The truststore key mismatch can prevent certificate mounts, while the genAI probe and generated architecture documentation remain incomplete.
6 open findings
Certificate key name mismatches documented Secret key · New GenAI orchestrator ignores the enabled health probe · New Commented resources key corrupts generated parameter documentation · New Admin web MongoDB edge should target its pod · New GenAI diagram documents an undeployed MongoDB dependency · New OpenSearch diagram has incorrect root and database component · New
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.
Contributor
|
@sacquatella copilot has made several comments, take a look at them ;) |
Collaborator
Author
|
corrections has been done |
zigzago
approved these changes
Oct 19, 2026
Contributor
@sacquatella PR approved 👍 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Changes between
masterand0.7xChart version
0.6.3→0.7.0, TockappVersion25.10.7→26.9.0.0.7xis 13 commits ahead ofmaster(32 files changed, +8,658 / −162).masterhas no commit missing from0.7x.Summary
0.7.0, Tock26.9.0startupProbe, liveness path changestock_default_namespaceandtock_bot_rest_client_request_timeout_mssettings1. 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)
<component>.truststore.{enabled,certSecret}now exists onadminWeb,botApi,buildWorker,duckling,nlpApiandgenAiOrchestrator. Before, it existed only onbotApiandgenAiOrchestrator.truststore-generatorinit container./truststorevolume mount and thecert-volume/truststore-volumevolumes.JAVA_TOOL_OPTIONS=-Djavax.net.ssl.trustStore=/truststore/cacerts ....{{- if .Values.X.truststore }}, which is always true because it tests the whole map. They now test.truststore.enabled.JAVA_TOOL_OPTIONSwas always set, even with the feature disabled, and pointed to a non-existent file.bot_apiandgenai_orchestrator.admin_web,build_worker,ducklingandnlp_apialready use it.rm -f /truststore/cacertsbefore copying.emptyDirstill held the read-only (0444)cacerts, so the re-run failed with permission denied and the pod went intoInit:CrashLoopBackOff._helpers.tpl:truststore.initContainer, called with(dict "root" $ "component" .Values.X).truststore.volumes, called with(dict "component" .Values.X).README.md.gotmplhas a new section, "Enforce TLS to an external MongoDB with an enterprise certificate".tls=truetoglobal.mongodbUrls.3. New generic deployment options
Added to all component deployments (
adminWeb,botApi,buildWorker,duckling,nlpApi,kotlinCompiler,genAiOrchestrator):podAnnotationsserviceAccountNamepriorityClassNameterminationGracePeriodSecondsextraEnvextraVolumes/extraVolumeMountsimagePullPolicyon the main containers, from<component>.image.pullPolicy(defaultIfNotPresent)imagePullPolicyon thecheck-*init containers, fromglobal.initContainerImage.pullPolicyThe "restart the pod when the configmap changes" comment in
admin_web,bot_apiand the other deployments was removed. Thechecksum/configannotation is kept.4. Probes
startupProbe(<component>.startupProbe.{enabled,initialDelaySeconds,timeoutSeconds,periodSeconds,failureThreshold}) on every HTTP component.adminWebandnlpApikeep their existing paths (/rest/admin/healthcheck, honouringbotadminverticle_base_href, and/rest/nlp/healthcheck).botApi,buildWorker,ducklingandkotlinCompilernow use/healthcheckfor the startup probe./healthcheckto/health/liveness. This needs a Tock image that exposes it, which matches the26.9.0bump.5. Admin web
admin_web.configmap.yaml:tock_default_namespacetock_bot_rest_client_request_timeout_ms6. Documentation and architecture diagrams
tock.c4and the.likec4/*.snapfiles.assets/:index.pumltockOverview.pumltockContainers.pumltockComponentsPG.pumltockComponentsOS.pumltockComponentsPG.svgmake build-doc-assetstarget in theMakefile:npx likec4 gen plantuml -o ./assets .then PlantUML SVG rendering.README.mdnow showsassets/tockComponentsPG.svgand describes "Postgres PG Vector as vector database".tock-on-k8s.puml: removed the non-existentbuild-worker-svcservice.plantuml-img.pngandtock-24x-on-k8s.png.charts/tock/README.md: regenerated, not reviewed here because the diff wasn't rendered.7. Other
urls.mong-headlessin_helpers.tpl. It builds amongodb://<release>-mongodb-headless.<ns>.svc.<domain>:27017/?replicaSet=<name>URI, or returnsglobal.mongodbUrlswhen MongoDB is not deployed by the chart.