helmfile / vals

Helm-like configuration values loader with support for various sources
Apache License 2.0
526 stars 70 forks source link

Feature Request: add support for Kubernetes provider #185

Closed lucasfcnunes closed 9 months ago

lucasfcnunes commented 10 months ago

Being able to use e.g. vals get ref+k8s://[[kubeContext/]namespace/]secret#key seems useful.


Request inspired by https://github.com/digitalis-io/vals-operator:

yxxhero commented 10 months ago

@lucasfcnunes PR is welcome.

james-masson commented 10 months ago

We're currently working on this - it's probably a day or two away from being PR ready.

james-masson commented 10 months ago

Any hints on a method to be able to push Helmfile managed kubeContext natively through to the k8s.io/client-go in vals would be useful. ( not through a variable in vals )

lucasfcnunes commented 10 months ago

@james-masson

Will it accept optionally kubeContext in the path like vals get ref+k8s://[[kubeContext/]namespace/]secret#key?

About helmfile templating engine: it could be appended directly in the text of the invocation if there is no explicit kubeContext in the ref+k8s://[[kubeContext/]namespace/]secret#key.

yxxhero commented 9 months ago

@james-masson @lucasfcnunes thanks so much.

bersalazar commented 9 months ago

@yxxhero @lucasfcnunes, #186 is the PR @james-masson referred to. It's up now.