Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove templating from values.yaml #10

Open
jessebot opened this issue May 20, 2024 · 2 comments
Open

Remove templating from values.yaml #10

jessebot opened this issue May 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jessebot
Copy link

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:

app.kubernetes.io/name: {{ template "vault.name" . }}-agent-injector
app.kubernetes.io/instance: "{{ .Release.Name }}"

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.

@jessebot jessebot added the bug Something isn't working label May 20, 2024
@cipherboy
Copy link
Member

I was curious where this templating comes from; is Kubernetes doing the templating or is that something within OpenBao?

@jessebot
Copy link
Author

No problem :) This is all gotemplating from helm, separate from OpenBao itself, but it should be live in the templates dir instead of the values.yaml.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants