tim-koehler / Helm-Intellisense

Extension for Visual Studio Code - Intellisense in helm-templates from the values.yaml
https://marketplace.visualstudio.com/items?itemName=Tim-Koehler.helm-intellisense&ssr=false#overview
MIT License
1.6k stars 23 forks source link

Specify Hierarchy of Value Files #35

Closed grant-zietsman closed 3 years ago

grant-zietsman commented 3 years ago

This is more of a question than an issue?

Hierarchy Support

Are there any plans to support specifying a hierarchy of value files. For example one representation could be:

customValueFileNames = [
  // default values
  "values.yaml",
  // staging-values which inherits from values
  ["staging-values.yaml", "values.yaml"],
  // production-values inherit from staging which inherit from values
  ["production-values.yaml", "staging-values.yaml", "values.yaml"],
]

At least in my current use case it seems quite handy to be able to check hierarchies of template values.

Checking All Values

I also noticed that customValueFileNames uses the first found value file. Are there any plans to check all specified value files, if found?

tim-koehler commented 3 years ago

Hey @grant-zietsman, this hierarchy support thing is something I already thought about. And now after seeing that it would add value for others I will look into it as soon as I find some time :)

grant-zietsman commented 3 years ago

Thanks @tim-koehler, that would be fantastic!

tim-koehler commented 3 years ago

Hey @grant-zietsman, this should work now👍🏼

Check the extension description/readme for the exact config.

grant-zietsman commented 3 years ago

Thanks @tim-koehler, that was fast. I'll try it out!