Skip to main content

Tool for vendoring Helm charts into a Git repository

Project description

chart-vendor

Overview

This is a simple tool which allows you to vendor Helm charts from external sources into your repository, with the ability to apply patches to the vendored charts.

Installation

pip install chart-vendor

Usage

Basic Command

chart-vendor [CHART_NAME]
  • CHART_NAME (optional): The name of the specific chart to fetch. If omitted, all charts specified in the configuration will be fetched.

Options

  • --charts-root: Root path where charts are generated. Default is charts.
  • --check: Check if all chart manifests are applied or not. If there are uncommitted changes or untracked files, the check will fail.

Examples

Fetch All Charts

chart-vendor

Fetch a Specific Chart

chart-vendor my-chart

Check for Uncommitted Changes

chart-vendor --check

Configuration

The CLI expects a configuration file named .charts.yml in the current working directory. This file should define the charts to be managed. The format of the configuration file is based on Pydantic models.

Example Configuration

charts:
  - name: my-chart
    repository:
      url: https://example.com/charts
    version: 1.0.0
    dependencies:
      - name: dependency-chart
        repository:
          url: https://example.com/dependency-charts
        version: 1.2.3
    patches:
      gerrit:
        example.gerrit.com:
          - 12345
          - 67890

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chart-vendor-0.2.0.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chart_vendor-0.2.0-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

Details for the file chart-vendor-0.2.0.tar.gz.

File metadata

  • Download URL: chart-vendor-0.2.0.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for chart-vendor-0.2.0.tar.gz
Algorithm Hash digest
SHA256 8fcf699a36a47eff989175a7cb913422bcfcb1b8af7ca1b37196313df900f6b4
MD5 af3fc403dfd16b43f2c33994b02e5b02
BLAKE2b-256 b7d0da22b21205d1c616245577140c043368b3f93ec42cae8432595a04f7f336

See more details on using hashes here.

File details

Details for the file chart_vendor-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: chart_vendor-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for chart_vendor-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5281680fd0a6d8ee87b777c9baa5a1caa405ae1f6ec7947d9e8aaad56e1d9dd3
MD5 b9d527e9e1858e9fb829788caf3f847e
BLAKE2b-256 e189678498d5f0ae499b0ed23af65f7d27fadc41bf4e9816c9722dfa9a3656b6

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page