openbao / openbao-helm

Helm chart to install OpenBao and other associated components.
Mozilla Public License 2.0
7 stars 3 forks source link

Remove templating from values.yaml #10

Open jessebot opened 1 month ago

jessebot commented 1 month ago

Templating should only be done in files under the charts/openbao/templates directory. The reason for this is that some users use third party templating tools, as Argo CD for gitops, which will be applying their own go-templating and it can cause conflicts and errors.

Here's an example of some values that should still be in the values.yaml as an example, but commented out by default:

https://github.com/openbao/openbao-helm/blob/b59b6e55bb124e6486f861feeb15c2428096634b/charts/openbao/values.yaml#L303-L304

We can still draw up some docs to explain to users how to use the affinity features of this chart and place them in the README or our official doc site, but defaults should always be template free.