Add automation engine to stack - #196
Conversation
… dependency Add kubex-automation-engine v1.9.1 as an optional dependency to the kubex-automation-stack chart. This enables automated workload rightsizing as part of the stack while maintaining backward compatibility with existing standalone installations. Changes: - Added kubex-automation-engine v1.9.1 dependency with condition flag (disabled by default) - Enhanced densify-api-secret to include 'url' field for automation engine compatibility - Updated kubex-connector-configmap to create when automation-engine is enabled - Added comprehensive configuration in values.yaml with clear documentation - Updated README.md with installation and migration instructions - Added CHANGELOG entry for version 1.0.22 Benefits: - New customers can install automation engine as part of the stack - Existing customers can continue using standalone installation - Shared credentials reduce configuration overhead - Consistent cluster identity across all stack components Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
# Conflicts: # charts/kubex-automation-stack/CHANGELOG.md # charts/kubex-automation-stack/Chart.yaml
There was a problem hiding this comment.
Pull request overview
Adds the optional kubex-automation-engine subchart to kubex-automation-stack, wiring it into the stack’s shared configuration and documenting how to enable it (including required CRDs).
Changes:
- Add
kubex-automation-engineas an optional chart dependency (disabled by default) and expose its values invalues.yaml. - Update example
values-edit.yamlto use YAML anchors for sharing Kubex host and cluster name with the automation engine. - Extend stack templates/docs to support the automation engine (runtime ConfigMap creation logic, shared credential Secret keys, README + changelog updates).
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| charts/kubex-automation-stack/values.yaml | Introduces kubex-automation-engine values block and defaults (disabled, uses shared secret). |
| charts/kubex-automation-stack/values-edit.yaml | Adds YAML anchors for host/cluster name and documents how to enable the automation engine. |
| charts/kubex-automation-stack/templates/kubex-connector-configmap.yaml | Ensures kubex-connector-runtime ConfigMap is created when automation engine is enabled. |
| charts/kubex-automation-stack/templates/densify-api-secret.yaml | Adds url and DENSIFY_BASE_URL keys to the shared Secret for automation-engine compatibility. |
| charts/kubex-automation-stack/README.md | Documents CRD prerequisite and detailed enablement/migration instructions for the automation engine. |
| charts/kubex-automation-stack/Chart.yaml | Bumps chart version and adds the kubex-automation-engine dependency with a conditional enable flag. |
| charts/kubex-automation-stack/Chart.lock | Updates dependency lock metadata to include the new subchart. |
| charts/kubex-automation-stack/CHANGELOG.md | Records the 1.1.0 release notes for adding the automation engine integration. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
So these changes, do not break backwards compatibility? |
… conditional blocks.
…R_NAME from it - Rename kubex-automation-stack template and ConfigMap from kubex-connector-runtime to kubex-stack-runtime. - Update stack-managed connector, CDI, and automation-engine defaults to consume kubex-stack-runtime. - Add kubex.clusterNameFrom to kubex-automation-engine; deployment uses valueFrom when set, otherwise falls back to kubex.clusterName. Schema and values updated. - Drop the YAML-anchor guidance from values-edit.yaml and README; add a rename migration note and refresh docs/CHANGELOG.
Live Test SummaryVerified this PR end-to-end on a fresh Kind cluster (Kubernetes v1.34.0). Engine subchart wired locally via Test 1 — Stack install with connector + CDI + engine enabled
Test 2 — Standalone engine with legacy
|
|
Data collection regression check: rendered the stack before and after the PR change with identical values. |
* Sync kubex charts from automation-controller main @ d84b5b2 * chore: limit sync to cluster name wiring --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Geoffrey Asare <gasare@kubex.ai>
|
Conflict resolution complete.
GitHub reports the PR as mergeable; any remaining blocked state is required checks. |
…ev/helm-charts into add-automation-engine-to-stack
No description provided.