11

I am trying to use stable/fluent-bit as a sub-chart in my chart. That chart has a value in values.yaml:

backend:
  es:
    host: elasticsearch

How can I set the value of backend.es.host as something like {Release.Name}-elasticsearch without making changes to the fluent-bit chart?

Nicholas K
  • 15,148
  • 7
  • 31
  • 57
Nsen
  • 281
  • 1
  • 3
  • 8
  • 2
    Apparently, it is a widely famous feature request, but there had no inclination from the community to implement: https://github.com/helm/helm/issues/2492 . At my workplace, we used custom variables to be replaced by our CI/CD pipelines, ie., one layer above helm chart value files. – droidbot Dec 09 '19 at 11:36

1 Answers1

-7

"{{ tpl .Release.Name }}-elasticsearch" should work.