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

Retrieve values files from GitHub, while pulling the chart from another registry #1575

Open
billmania42 opened this issue Jan 29, 2025 · 0 comments
Assignees
Labels

Comments

@billmania42
Copy link

Terraform version: v202301-2
Helm Provider version: 2.17.0
Kubernetes version: v1.29.10+67d3387

## Terraform configuration
resource "helm_release" "applications" {
    for_each = local.apps
    name = each.release_name
    repository = each.repository
    chart = each.chart_name
    dependency_update = true
    lint = true
    namespace = each.namespace
    upgrade_install = true
    version = each.chart_version
    verify = true

    values = [
        file("/values.yaml"),
        file("/dev/values.yaml")

    ]
}

locals {
    apps = {
        flaskapi = {
            name = "dev1"
            namespace = "foo"
            repository = "oci://blah.blah.com/"
            chart = "universal-app"
            version = var.chart_version
        }
        }
    }


## Question

<!---

Is it possible to have a registry defined for external values files (GitHub), separate from where the chart is being pulled in from a central artifact repository, like artifactory?
We have a common, universal helm chart for deploying most of our applications, where app owners manage their application specific values files in there own organization config repos in GitHub, while using a app-agnostic helm chart.  It is not clear to me in the documentation if this is possible.
Thanks

--->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants