|
@ -129,20 +129,20 @@ spec: |
|
|
{% if ingress_nginx_configmap_tcp_services %} |
|
|
{% if ingress_nginx_configmap_tcp_services %} |
|
|
{% for port in ingress_nginx_configmap_tcp_services.keys() %} |
|
|
{% for port in ingress_nginx_configmap_tcp_services.keys() %} |
|
|
- name: tcp-port-{{ port }} |
|
|
- name: tcp-port-{{ port }} |
|
|
containerPort: "{{ port | int }}" |
|
|
|
|
|
|
|
|
containerPort: {{ port | int }} |
|
|
protocol: TCP |
|
|
protocol: TCP |
|
|
{% if not ingress_nginx_host_network %} |
|
|
{% if not ingress_nginx_host_network %} |
|
|
hostPort: "{{ port | int }}" |
|
|
|
|
|
|
|
|
hostPort: {{ port | int }} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% if ingress_nginx_configmap_udp_services %} |
|
|
{% if ingress_nginx_configmap_udp_services %} |
|
|
{% for port in ingress_nginx_configmap_udp_services.keys() %} |
|
|
{% for port in ingress_nginx_configmap_udp_services.keys() %} |
|
|
- name: udp-port-{{ port }} |
|
|
- name: udp-port-{{ port }} |
|
|
containerPort: "{{ port | int }}" |
|
|
|
|
|
|
|
|
containerPort: {{ port | int }} |
|
|
protocol: UDP |
|
|
protocol: UDP |
|
|
{% if not ingress_nginx_host_network %} |
|
|
{% if not ingress_nginx_host_network %} |
|
|
hostPort: "{{ port | int }}" |
|
|
|
|
|
|
|
|
hostPort: {{ port | int }} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|
{% endfor %} |
|
|
{% endfor %} |
|
|
{% endif %} |
|
|
{% endif %} |
|
|