Add loadbalancerip (#1265)

* Add ability to configure loadbalancerip on service
* Add docs for configuring loadbalancerip
This commit is contained in:
Gene Tomilko
2023-03-22 11:27:17 -07:00
committed by GitHub
parent 6fd969633e
commit 88b1a8c125
4 changed files with 15 additions and 0 deletions

View File

@@ -53,6 +53,9 @@ spec:
type: NodePort
{% elif service_type | lower == "loadbalancer" %}
type: LoadBalancer
{% if variable is defined and variable|length %}
loadbalancerip: '{{ loadbalancer_ip }}'
{% endif %}
{% else %}
type: ClusterIP
{% endif %}