-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Support remote helm chart repositories #296
Comments
Interesting use case, thanks for bearing with us as we start to explore and support some of these workflows. I've seen this workflow in practice before. Can you just verify what your app repo vs. infra repo looks like? app repo: infra repo: Do you use one umbrella chart for all of your apps or does each app have its own chart? I think we should support this workflow of remote deploy objects, but local code and build objects. I'm not sure the best path forward for making this work with helm, for the kubectl deployer its a bit simpler (kubectl can accept remote manifests). |
Every app has its own chart. app repo: infra repo: Cluster-level kubernetes manifests are at seperate repos. Thanks for all the work btw, really nice tool. |
Hi. We have a pretty similar workflow. Charts are placed in a separate git repository and are being served automatically by |
Hello guys. We are considering using skaffold for similar case - keep skaffold.yaml with definitions of all the plugins (remote helm charts) and set of addon-value.yaml files to manage values of each addon (chart). I suppose the intention was/is to introduce remote charts support based on the following comment: skaffold/pkg/skaffold/deploy/helm.go Line 147 in daefae1
|
Would a potential solution be to simply skip the skaffold/pkg/skaffold/deploy/helm.go Line 136 in daefae1
Similar to how I might run a command such as The benefit of using skaffold would then be the ability to pass in build artifacts to that remote chart with |
Any luck getting this fixed, or is there support already? :) |
* adding support for remote helm repo * adding unit tests for skipBuildDependencies
Hello. I tried using skaffold with a remote chart repository. The reason behind it is that we have different repos for our "app code" and our "infra code" (mostly helm charts). To my understanding this functionality is not supported.
My test-case was to modify the examples/helm-deployment to deploy to minikube with a chart from the local helm repo
(also tried various other scenarios on gke and the stable chart repo, etc, same error occur)
The error is that
helm dep build
seeks for the requirements.lock file locally which is not the case here, and there is no magic flag to support building dependencies from a remote chart(or at least i haven't found any while reading helm docs). A workaround, in the case of a remote chart repo which could be defined in skaffold.yaml, might be to fetch and unpack the chart locally -> install/upgrade -> clean-up but it seems kind of an overkill.Expected behavior
Run skaffold using the remote helm chart
Actual behavior
Skaffold dev/run fails with output:
WARN[0000] run: deploy step: deploying skaffold-helm: helm dep build stdout: , stderr: Error: could not find local/skaffold-helm: stat local/skaffold-helm: no such file or directory : exit status 1
Information
Steps to reproduce the behavior
helm package skaffold-helm; helm serve
The text was updated successfully, but these errors were encountered: