https://pulumi.com logo
Title
c

cuddly-flower-91328

03/16/2023, 8:31 PM
I am trying to add annotations to the
ingress-nginx
controller service but running into an issue. I'm getting the following:
Type 'string' is not assignable to type 'Input<{ [key: string]: Input<string>; }>'.
{
        controller: {
          service: {
            type: 'LoadBalancer',
            annotations: {
              "<http://service.beta.kubernetes.io/aws-load-balancer-name|service.beta.kubernetes.io/aws-load-balancer-name>":
                "apps-ingress",
 ...
s

straight-yacht-47796

03/22/2023, 5:22 PM
Got the same issue, cheers for the link, saved me some time looking into it!
c

cuddly-flower-91328

03/22/2023, 5:33 PM
I ended up switching to helm release
s

straight-yacht-47796

03/22/2023, 5:42 PM
Ah that’s a good plan, I went with a k8s.yaml.ConfigGroup and rolled my own yaml spec