https://pulumi.com logo
#azure
Title
# azure
g

great-flag-86735

07/09/2020, 4:07 PM
Good morning! I am attempting to set a dns name on a Aks nginx ingress controller. However it fails to stick. I can edit it directly within Azure portal. Here’s my pulumi exerpt where I tried a couple different config. Anyone know the issue?
Copy code
const nginx = new k8s.helm.v2.Chart(nginxName, {
		chart: "bitnami/nginx-ingress-controller",
		values: {
			annotations: {
				// "<http://service.beta.kubernetes.io/azure-dns-label-name|service.beta.kubernetes.io/azure-dns-label-name>": k8sDnsName,
			},				
			controller: {
				publishService: {enabled: true},
				service: {
					annotations: {
						"<http://service.beta.kubernetes.io/azure-dns-label-name|service.beta.kubernetes.io/azure-dns-label-name>": k8sDnsName,
					},				
				}
			}
		},
	},
	{providers: {kubernetes: cluster.provider}},
);
5 Views