-
Notifications
You must be signed in to change notification settings - Fork 373
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
Add hostAliases to Helm values for Flow Aggregator #5386
Conversation
fc06c2e
to
8796bbe
Compare
8796bbe
to
f937434
Compare
de48fdd
to
6fd6ce7
Compare
{{- if .Values.hostAliases }} | ||
hostAliases: | ||
{{- range $v := .Values.hostAliases }} | ||
- ip: {{ $v.ip }} | ||
hostnames: | ||
- {{ $v.hostname }} | ||
{{- end }} | ||
{{- end }} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be:
hostAliases:
{{- range .Values.hostAliases }}
- ip: {{ .ip }}
hostnames:
{{- range $hostname := .hostnames }}
- {{ $hostname }}
{{- end }}
{{- end }}
I think we want to support the exact same format as the PodSpec (so multiple hostnames)
I also don't think you need conditionals
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
…sting. Signed-off-by: Yun-Tang Hsu <hsuy@vmware.com>
6fd6ce7
to
16e87c4
Compare
/test-all |
Add hostAliases to Helm values for Flow Aggregator
User might want to use hostAliases field when connecting Flow Aggregator to ClickHouse through Ingress/LoadBalancer.
It is also convenient for e2e test.
Signed-off-by: Yun-Tang Hsu hsuy@vmware.com