hi, i’ve tried to install ingress-controller using...
# kubernetes
m
hi, i’ve tried to install ingress-controller using this code and it failed: it turns out, admission create job didn’t start. I’ve tried to install it with helm CLI and it went fine, — “admission create” job appeared and completed
Copy code
const nginxController = new k8s.helm.v3.Chart(`core1-${stack}`, {
  version: "3.3.0",
  chart: "ingress-nginx",
  fetchOpts: {
    repo: "<https://kubernetes.github.io/ingress-nginx>"
  },
  values: {
    controller: {
      admissionWebhooks: {
        enabled: true,
        patch: {
          enabled: true
        }
      },

      service: {
        annotations: {
          "<http://external-dns.alpha.kubernetes.io/hostname|external-dns.alpha.kubernetes.io/hostname>": "<http://mydomain.net|mydomain.net>"
        },
        externalTrafficPolicy: 'Local',
      },

      config: {
        "use-forwarded-headers": 'true'
      }
    }
  }
}, { provider: cluster.provider });