pajikos / home-assistant-helm-chart

Helm Chart for Home Assistant
MIT License
107 stars 30 forks source link

feat: Add init container to enable ingresses in configuration.yaml #54

Closed jlpedrosa closed 5 months ago

jlpedrosa commented 5 months ago

Create an init container, that updates the ha configuration adding:

http:
  use_x_forwarded_for = true
  trusted_proxies:
  - 10.0.0.0/8
  - 172.16.0.0/12
  - 192.168.0.0/16 

I'm inlining everything, if more and more features are added, probably we should move this to an script in a config map or template the script.

I have NOT Tested this, I'm a bit cramped ATM. If you want to test it yourself o wait it until I can test it, fine for me.

pajikos commented 5 months ago

resolved by #55