Fix load balancer ip on traefik service

This commit is contained in:
Pim Kunis 2024-05-12 09:55:06 +02:00
parent 3db3a0c1bf
commit 5b78f92812

View file

@ -7,8 +7,9 @@
# Create endpoint for HTTPS on port 444. # Create endpoint for HTTPS on port 444.
# Allow external name services for esrom. # Allow external name services for esrom.
spec.valuesContent = lib.generators.toYAML { } { spec.valuesContent = lib.generators.toYAML { } {
service.annotations."metallb.universe.tf/loadBalancerIPs" = myLib.globals.traefikIPv4; # service.annotations."metallb.universe.tf/loadBalancerIPs" = myLib.globals.traefikIPv4;
providers.kubernetesIngress.allowExternalNameServices = true; providers.kubernetesIngress.allowExternalNameServices = true;
service.loadBalancerIP = myLib.globals.traefikIPv4;
ports.localsecure = { ports.localsecure = {
port = 8444; port = 8444;