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

Can I add an ArgoCD application via chart and not via git repo? #1583

Closed
YevheniiPokhvalii opened this issue May 5, 2023 · 1 comment
Closed
Labels
gitops question Further information is requested

Comments

@YevheniiPokhvalii
Copy link

YevheniiPokhvalii commented May 5, 2023

I'm looking through these parameters:
https://github.com/aws-ia/terraform-aws-eks-blueprints/blob/main/modules/kubernetes-addons/argocd/main.tf#L28

There does not seem to be an option to pull directly from a Helm repo. It's only git repo with Helm chart.
I need something like chart = "elasticsearch" instead of path and it does not seem possible with the current templates. The below example will not work in ArgoCD with the error rpc error: code = Unknown desc = repository not found:

      elastic-stack = {
        path               = "elasticsearch"
        repo_url            = "https://helm.elastic.co"
        values              = {}
        type                = "helm"
        target_revision = "7.17.3"
      }

Here is a part of the default example of an ArgoCD application where you use path for git repos and chart for Helm repos:

  source:
    repoURL: https://github.com/argoproj/argocd-example-apps.git  # Can point to either a Helm chart repo or a git repo.
    targetRevision: HEAD  # For Helm, this refers to the chart version.
    path: guestbook  # This has no meaning for Helm charts pulled directly from a Helm repo instead of git.

    # helm specific config
    chart: chart-name  # Set this when pulling directly from a Helm repo. DO NOT set for git-hosted Helm charts.
@bryantbiggs
Copy link
Contributor

closing this issue for now - please see aws-ia/terraform-aws-eks-blueprints-addons#114 where we are collecting feedback on how to improve the integration between Terraform and GitOps providers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gitops question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants