Skip to content
This repository was archived by the owner on Jul 15, 2024. It is now read-only.
This repository was archived by the owner on Jul 15, 2024. It is now read-only.

using helm and git repos inside ApplicationSet #609

@adabuleanu

Description

@adabuleanu

Hello. Is there a possibility to configure an ApplicationSet to create Applications with helm or git sources?

Example:

    spec:
      source:
        repoURL: "{{source.repoURL}}"
        chart:  "{{source.chart}}" # how will this key be dynamic?
        path: "{{source.path}}" # how will this key be dynamic?
        targetRevision: '{{source.targetRevision}}'
        helm:
          values:
            "{{source.helm.values}}"

And parameters should look something like this (will be passed by generators):

- appName: app1
  source:
    repoURL: my-helm-repo
    targetRevision: my-chart-version
    chart: my-chart
    helm:
      values: {}
- appName: app2
  source:
    repoURL: my-git-repo
    targetRevision: my-git-branch
    path: my-chart
    helm:
      values: {}

My use case is that I am storing helm charts inside git repos and for development purposes I point the Application to the git repo (with repoURL being a git repo and targetRevision being a git branch). After development is finished, the helm chart is published to a helm repo and I am referencing that in the Application. I want to achieve the same using ApplicationSets.

I did some research and the only thing that might help is this feature #11213 (with variant #11183), so I can use something like this in the ApplicationSet definition

    spec:
      source: "{{source}}"

Is there any way of achieving this functionality?

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