Giter Club home page Giter Club logo

Comments (9)

stepro avatar stepro commented on July 24, 2024

Support for Helm charts with dependencies is on our backlog for a future release. I can't say we have thought much about external dependencies that aren't in the stable helm repo, however our general principal on these things is that however it works locally, it should work the same way with azds.

We do not currently have a document describing the full schema for azds.yaml. For now, feel free to ask if something is supported and we'll let you know if there is a way to configure azds.yaml.

from dev-spaces.

mprigge avatar mprigge commented on July 24, 2024

Okay, understood. I'll look forward to that support.

Pardon the dumb question, but when azds is actually executing helm during a deploy, where is that actually happening? I know there's a Tiller instance inside the azds namespace which I assume it's speaking to. Is Helm actually running on the development workstation or is that living in a container or somewhere entirely different? Just trying to sort out whether I can throw an add repo command or modify the repositories.yaml wherever that's occurring (even if it's not precisely supported).

from dev-spaces.

stepro avatar stepro commented on July 24, 2024

No dumb questions here :) Azds removes the need to have docker, kubectl, helm installed on your local machine. To achieve that, it copies (or specifically, incrementally synchronizes) your code and your Helm chart to a remote location (an Azure file share) from which the helm install command is issued.

Given this, you could mount the Azure file share somewhere and try to run commands directly on it, but it would be very hard to do this at the appropriate time (the next sync will delete anything that got added, and the helm install is run almost immediately after the sync is complete).

from dev-spaces.

mprigge avatar mprigge commented on July 24, 2024

Got it. I had assumed some degree of smoke and mirrors was involved. Worth asking, though! I'm guessing that in order to support this use case, you'd probably need to add a repos node to the azds.yaml to drive helm repos add commands. So, it'd need to be worth doing for you. I'm not sure how many other people have this requirement, so I've no idea how likely that'd be.

I suppose this may be a sign that I should find a different way of accomplishing what I'm trying to do. On the one hand, being forced to do that by development tooling feels bad, but on the other it's maybe a sign I'm doing something the hard way. :-)

In any event, do you already have an issue tracking this backlog item I can watch for?

from dev-spaces.

stepro avatar stepro commented on July 24, 2024

We maintain our backlog internally, but you can treat this issue as the external work item tracking it.

from dev-spaces.

walterfranssen avatar walterfranssen commented on July 24, 2024

Is there a workaround for it, i reaaaalllly need it

from dev-spaces.

chrisjohnson avatar chrisjohnson commented on July 24, 2024

With dev spaces out of preview, what is the solution to this problem? What is the azds command for calling helm repo add?

from dev-spaces.

sanar-microsoft avatar sanar-microsoft commented on July 24, 2024

@walterfranssen @chrisjohnson Because the repo information is not available to the helm client that azds uses right now, one way is to add a charts sub-directory and adding the dependencies there manually or you can do a helm repo add and helm dep update manually for the chart and once the dependencies are updated you can remove them from requirements.yaml before doing azds up. Does that work?

from dev-spaces.

YuzorMa avatar YuzorMa commented on July 24, 2024

@mprigge @walterfranssen @chrisjohnson This is now supported!

Check out the docs at https://docs.microsoft.com/en-us/azure/dev-spaces/how-to/use-private-helm-repo to see how to use it.

Please let us know if you see any issues or have any feedback.

from dev-spaces.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.