portainer / k8s

How to deploy Portainer inside a Kubernetes environment.
MIT License
88 stars 58 forks source link

Please add loadBalancerIP option to helm chart #113

Open VladoPortos opened 2 years ago

VladoPortos commented 2 years ago

Hello,

Could you please add loadBalancerIP option to helm chart k8s/charts/portainer/templates/service.yaml it already supports .service.type to be LoadBalancer but would be nice to be able also to set the desired IP directly.

Something like this maybe:

{{- if and .Values.service.loadBalancerIP (eq .Values.service.type "LoadBalancer") }}
  loadBalancerIP: {{ .Values.service.loadBalancerIP }}
  {{- end }}