This message was deleted.
# azure
s
This message was deleted.
w
Hi all, found the problem (or rather a workaround). I used the wrong helm chart and it ignored the
controller.service.loadBalancerIP
directive. Using
Copy code
const regEngineIngress = new k8s.helm.v3.Chart(
    "sample-engine-ingress",
    {
        repo: "<http://kubernetes.github.io|kubernetes.github.io>",
        chart: "ingress-nginx",
        version: "4.3.0",
        fetchOpts: {
            repo: "<https://kubernetes.github.io/ingress-nginx>",
        },
        namespace: clusterSvcsNamespace.metadata.name,
        values: {
            controller: {
                replicaCount: 2,
                nodeSelector: {
                    "kubernetes\.io/os": "linux",
                },
                service: {
                    loadBalancerIP: publicIp.ipAddress,
                }
            }
        },
    },
    { provider: k8sProvider },
);
That way, the public IP is assigned and since the public IP gets a A record automatically, it works nicely.