stakewise / helm-charts

Curated StakeWise Helm Charts for Kubernetes
Other
35 stars 27 forks source link

nethermind: adding secret name override #556

Closed kaplanmaxe closed 3 months ago

kaplanmaxe commented 4 months ago

Big fan of this repo!

The current way secrets are handled in this repo is not the most ideal in my opinion. While the docs show an example of specifying the JWT token via an environment variable (which is not bad security wise), if one wanted to track their values.yaml file in git, the current chart requires .Values.global.JWTSecret to be tracked in code.

Additionally, it's very common for people to use external secret providers like Hashicorp Vault (which I have seen Stakewise supports in some areas already). To do this, one could use a SecretProviderClass (or the vault injector obviously).

This PR allows for:

antares-sw commented 3 months ago

Hey @kaplanmaxe, thanks for the PR, please up chart version here: https://github.com/stakewise/helm-charts/blob/main/charts/nethermind/Chart.yaml#L5

kaplanmaxe commented 3 months ago

done!