*** Wartungsfenster jeden ersten Mittwoch vormittag im Monat ***

Skip to content
Snippets Groups Projects
Commit 6fcfc1f8 authored by Weber, Thomas's avatar Weber, Thomas
Browse files

add nodeports option to nginx ingress

parent 7f8cc884
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -40,6 +40,8 @@ spec:
default: true
publishService:
enabled: true
hostPort:
enabled: false
service:
enabled: true
externalTrafficPolicy: {{ item.value.externalTrafficPolicy }}
......@@ -75,8 +77,13 @@ spec:
annotations:
metallb.universe.tf/address-pool: {{ item.value.metallbAddressPool }}
{% endif %}
hostPort:
enabled: false
{% elif item.value.NodePorts is defined and item.value.NodePorts | length > 0%}
type: NodePort
nodePorts:
http: {{ item.value.NodePorts.http }}
https: {{ item.value.NodePorts.https }}
tcp:
8080: {{ item.value.NodePorts.tcp }}
{% else %}
type: ClusterIP
{% if item.value.externalIPs is defined and item.value.externalIPs | length > 0 %}
......@@ -85,4 +92,6 @@ spec:
- {{ externalIP }}
{% endfor %}
{% endif %}
hostPort:
enabled: false
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment