Skip to content

Add Environmental Value and Advertise LB IP if specified#45

Open
angryninja48 wants to merge 2 commits intomunnerz:masterfrom
angryninja48:master
Open

Add Environmental Value and Advertise LB IP if specified#45
angryninja48 wants to merge 2 commits intomunnerz:masterfrom
angryninja48:master

Conversation

@angryninja48
Copy link

No description provided.

{{- end }}
{{- if and (.Values.service.loadBalancerIP) (eq .Values.service.type "LoadBalancer") }}
- name: ADVERTISE_IP
value: "http://{{ .Values.service.loadBalancerIP }}:32400"
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In order to make it possible to use TLS, this var needs to be set to a hostname instead of an IP.

It may be better if we simply expose setting ADVERTISE_IP to some arbitrary value via the values.yaml file instead of requiring using the services IP address.

Copy link
Author

@angryninja48 angryninja48 Jan 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had the same thought - The user could just pass it in via the env value if they wanted to override it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants