Skip to content

Root folder in chart_path leads to git repo in git repo #5

@Zaunei

Description

@Zaunei

While using git repos for helm charts works great for charts that are in subfolders, it becomes impractical once the helm chart is in the root folder.

In a Monrepo approach for GitOps, there is then a git repo in a git repo, which makes checking in the files difficult.

Example:

charts:
  - name: netbox
    repo_name: bootc-netbox-git
    chart_path: /
    version: 9f537a99928d42f9f1854e95c605db8bc352d4c8
repos:
  - name: stable
    url: https://charts.helm.sh/stable
  - name: bootc-netbox-git
    type: git
    url: https://github.com/bootc/netbox-chart.git
destinations:
  - name: default
    path: ./foobar

Maybe it makes sense here to add an option to delete the .git folder after checkout?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions