vectordotdev / helm-charts

Helm charts for Vector.
https://vector.dev
Mozilla Public License 2.0
111 stars 90 forks source link

add value hostAliases #391

Open VitalyEst opened 4 months ago

VitalyEst commented 4 months ago

Please add value hostAliases to https://github.com/vectordotdev/helm-charts/blob/develop/charts/vector/templates/_pod.tpl

{{- with .Values.hostAliases }}
hostAliases:
{{ toYaml . | indent 2 }}
{{- end }}

https://github.com/vectordotdev/helm-charts/blob/develop/charts/vector/values.yaml

hostAliases: []
#- ip: "127.0.0.1"
#  hostnames:
#  - "foo.local"
#  - "bar.local"
VitalyEst commented 4 months ago

This parameter used for connect network resources(like kafka brokers) without DNS service.

jszwedko commented 4 months ago

👍 we'd support a PR here if anyone is motivated.