helmfile icon indicating copy to clipboard operation
helmfile copied to clipboard

Documentation about bases and relative paths

Open philomory opened this issue 3 years ago • 0 comments

When you have a "base" file that is in a different directory from your main file, like this

bases:
  - ./foo/example.yaml

relative paths in ./foo/example.yaml are interpreted as relative to the main ./helmfile.yaml, rather than relative to the base file.

This makes sense in light of how base files are interpreted (they're more-or-less just read and virtually appended to the main file), but it's probably worth explicitly documenting that it works this way in the documentation about relative paths, especially since this is different from how relative paths work in sub-helmfiles included via the helmfiles key.

philomory avatar Mar 31 '22 20:03 philomory