#helmfile (2023-06)

https://github.com/helmfile/helmfile

Questions and discussion around helmfile https://github.com/roboll/helmfile and https://github.com/cloudposse/helmfiles

Archive: https://archive.sweetops.com/helmfile/

2023-06-10

josephgardner avatar
josephgardner

:wave: I’m starting to use helmfile for a microservices deployment, and each service has its own helmfile that specifies their deps as helmfiles: so that you can apply each service independently and ensure it’s deps are installed. This works well, but trying to run helmfile deps seems to cause the same charts to get re-pulled for every commonly shared deps. Is this expected, or is there some way to optimize it?

josephgardner avatar
josephgardner

For example, I’m running

helmfile deps -f services/banana
josephgardner avatar
josephgardner
bases:
  - ../repos.yaml
helmfiles:
  - ../apple/helmfile.yaml
  - ../pear/helmfile.yaml
releases:
  - name: banana
    chart: dev/banana
    version: "*"
josephgardner avatar
josephgardner

I think I want to skip deps for apple and pear as they already have lock files

josephgardner avatar
josephgardner

This works but seems wrong,

helmfile deps -f services/banana --selector name=banana
josephgardner avatar
josephgardner

also helmfile list shows the common charts repeated.

josephgardner avatar
josephgardner

my problem is both apple and pear have,

helmfiles:
  - ../orange/helmfile.yaml

So i’m getting 2 orange charts listed

josephgardner avatar
josephgardner

am I supposed to use needs instead of helmfiles?

josephgardner avatar
josephgardner

2023-06-22

Phil avatar

Hi. I’m trying to fetch charts using helmfile. There’s a –output-dir-template flag than can be used to template the path, but I wonder if it’s possible to use the url for path instead of {{ .ChartName }}?

yxxhero avatar
yxxhero

@Phil hi. please post a new issue in helmfile/helmfile project. thanks so much.

1

2023-06-23

    keyboard_arrow_up