Skip to content

feat(native-helm): support chart-only deployments without image builds - #281

Merged
levontikoyan merged 2 commits into
mainfrom
feat/helm-skip-image-build
Nov 16, 2026
Merged

levontikoyan merged 2 commits into
mainfrom
feat/helm-skip-image-build

Conversation

@levontikoyan

@levontikoyan levontikoyan commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Local Helm charts currently enter the image-build flow even when they deploy prebuilt images. A missing default Dockerfile can therefore prevent a native Helm deployment.

Add helm.skipImageBuild: true for native Helm services that use prebuilt images. Omitting the option or setting it to false preserves existing behavior. The option rejects service-level Docker build settings and removes inherited Docker defaults for that service.

Chart-only deployments still resolve the chart repository's Git revision and deploy the accepted revision. Missing local chart repositories and unresolved revisions fail the deployment. Use an if/then schema condition so invalid configurations identify the missing or incompatible deployment method directly.

helm:
  deploymentMethod: native
  skipImageBuild: true

Usage documentation and the field reference are in the companion lifecycle-docs PR.

Validation:

  • 95 tests passed across the YAML service, configuration validator, and schema slice suites.
  • 30 generated-schema cases confirmed compatibility with existing valid and invalid configurations and no mutation of inputs.
  • Server TypeScript check, changed-file ESLint and Prettier checks, and git diff --check passed.
  • Deployment and native Helm regression suites passed during implementation.
  • No live deployment was performed.

@levontikoyan
levontikoyan requested a review from a team as a code owner November 13, 2026 20:38

@vmelikyan vmelikyan left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nice work, Levon. The logic is clean, existing behavior is unchanged, and failing the deploy when the chart revision can't be resolved is the right call.

One ask: please move the usage docs out of the root README (that section is contributor setup) into lifecycle-docs, features/native-helm-deployment.mdx and schema/helm.mdx.

Optional: the anyOf rule will likely give a generic "must match a schema in anyOf" error when deploymentMethod: native is missing. An if/then would give users a clearer message.

@levontikoyan
levontikoyan merged commit 4f49f28 into main Nov 16, 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.

2 participants