Skip to content

Comments

Support selective chart publishing via arguments#2838

Merged
kodiakhq[bot] merged 1 commit intomasterfrom
selective-chart-publishing
Feb 6, 2026
Merged

Support selective chart publishing via arguments#2838
kodiakhq[bot] merged 1 commit intomasterfrom
selective-chart-publishing

Conversation

@tamalsaha
Copy link
Member

This PR enhances the publish-oci-charts.sh script to support publishing specific charts by passing their names as arguments.

Changes

  • Modified the script to check if more than 2 arguments are provided
  • If yes, loops over chart names provided as arguments (3+) and publishes only those
  • If no, maintains original behavior of publishing all charts in the directory

Usage

  • ./publish-oci-charts.sh [root] [charts_dir] - publishes all charts (original behavior)
  • ./publish-oci-charts.sh [root] [charts_dir] chart1 chart2 chart3 - publishes only specified charts

Benefits

  • Faster publishing when only specific charts need updates
  • More flexible deployment workflow
  • Reduces unnecessary chart publishing

Allow specifying individual chart names as arguments (3+) to publish
only those charts instead of all charts in the directory. This provides
more flexibility and faster publishing when only specific charts need
to be updated.

Usage:
- ./publish-oci-charts.sh [root] [charts_dir] - publishes all charts
- ./publish-oci-charts.sh [root] [charts_dir] chart1 chart2... - publishes only specified charts

Signed-off-by: Tamal Saha <tamal@appscode.com>
@tamalsaha tamalsaha force-pushed the selective-chart-publishing branch from a736d1f to 12679ff Compare February 6, 2026 21:45
@tamalsaha tamalsaha added the automerge Kodiak will auto merge PRs that have this label label Feb 6, 2026
@kodiakhq kodiakhq bot merged commit 7030631 into master Feb 6, 2026
5 checks passed
@kodiakhq kodiakhq bot deleted the selective-chart-publishing branch February 6, 2026 21:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Kodiak will auto merge PRs that have this label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant