Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add git chart downloader #42

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

Commits on Oct 30, 2022

  1. feat: add git chart downloader / git getter

    This is meant to be compatible with the [helm-git](https://github.com/aslafy-z/helm-git) plugin.
    The plugin has been reimplemented here since it relies on unsupported helm commands and since it doesn't build git charts as effective as khelm.
    khelm uses go-git to keep the image small and self-contained: the git binary would increase the container image size by 15m while using go-git increases the size by 3m only.
    However currently [go-git does not support sparse checkouts](go-git/go-git#90).
    mgoltzsche committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    6d1374f View commit details
    Browse the repository at this point in the history
  2. feat: support auth for git+https repos

    Use the credentials configured within repositories.yaml also for git+https urls.
    To avoid reloading the config, move repository-related code into a separate package.
    mgoltzsche committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    d574993 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    32f6afc View commit details
    Browse the repository at this point in the history
  4. fix: wire up git getter within cli

    Also, disable git getter by default and add IsUntrustedRepository method
    back to helm package for backward-compatibility and convenience.
    mgoltzsche committed Oct 30, 2022
    Configuration menu
    Copy the full SHA
    9de5d90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    bab9540 View commit details
    Browse the repository at this point in the history