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

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

add openstack loadbalancer reference

parent 115a4176
No related branches found
No related tags found
1 merge request!1Restore main as the default branch
......@@ -73,10 +73,15 @@ default_manifests:
enabled: false
bpf:
clockProbe: true
kubeProxyReplacement: none # probe, strict
hostPort:
enabled: false
hostServices:
enabled: false
# -- Disable socket lb for non-root ns. This is used to enable Istio routing rules.
hostNamespaceOnly: false
cni:
chainingMode: none
chainingMode: none # needs plugins, not needed when kubeProxyReplacement in place
containerRuntime:
integration: auto
prometheus:
......@@ -122,6 +127,7 @@ default_manifests:
reportNodeInternalIp: false
externalTrafficPolicy: "Local" # or "Cluster"; see: https://kubernetes.github.io/ingress-nginx/deploy/baremetal/#bare-metal-considerations
externalIPs: []
LoadBalancerID_OpenStack: ""
loadBalancerIP: ""
loadBalancerSourceRanges: []
metallbAddressPool: ""
......
......@@ -27,27 +27,38 @@ spec:
externalTrafficPolicy: {{ item.value.externalTrafficPolicy | bool | string | lower }}
admissionWebhooks:
enabled: {{ item.value.enableAdmissionWebhooks | bool | string | lower }}
{# - BEGIN OUTER #}
{% if item.value.loadBalancerIP is defined and item.value.loadBalancerIP | length > 0 %}
type: LoadBalancer
loadBalancerIP: {{ item.value.loadBalancerIP }}
{# -- BEGIN INNER #}
{% if item.value.loadBalancerSourceRanges is defined and item.value.loadBalancerSourceRanges | length > 0 %}
loadBalancerSourceRanges:
{% for sourceRange in item.value.loadBalancerSourceRanges %}
- {{ sourceRange }}
{% endfor %}
{% endif %}
{% if item.value.metallbAddressPool is defined and item.value.metallbAddressPool | length > 0 %}
{# -- END INNER #}
hostPort:
enabled: false
annotations:
ingress/loadBalancerIP: {{ item.value.loadBalancerIP }} {# Just as additional info #}
{# -- BEGIN INNER #}
{% if item.value.LoadBalancerID_OpenStack is defined and item.value.LoadBalancerID_OpenStack | length > 0 %}
loadbalancer.openstack.org/load-balancer-id: {{ item.value.LoadBalancerID_OpenStack }}
{% elif item.value.metallbAddressPool is defined and item.value.metallbAddressPool | length > 0 %}
metallb.universe.tf/address-pool: {{ item.value.metallbAddressPool }}
{% endif %}
{# -- END INNER #}
{% else %}
type: ClusterIP
{# -- BEGIN INNER #}
{% if item.value.externalIPs is defined and item.value.externalIPs | length > 0 %}
externalIPs:
{% for externalIP in item.value.externalIPs %}
- {{ externalIP }}
{% endfor %}
{% endif %}
{% endif %}
\ No newline at end of file
{# -- END INNER #}
{% endif %}
{# - END OUTER #}
\ No newline at end of file
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