# Okteto Self Hosted - Helm installation fails

**URL:** <https://community.okteto.com/t/okteto-self-hosted-helm-installation-fails/606>\
**Category:** Okteto Self-Hosted\
**Created:** [February 15, 2023, 11:49am UTC](https://community.okteto.com/t/okteto-self-hosted-helm-installation-fails/606 "2023-02-15T11:49:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuxomaster](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/tuxomaster/32/309_2.png) [@tuxomaster](https://community.okteto.com/u/tuxomaster)\
**Post date:** [February 15, 2023, 11:49am UTC](https://community.okteto.com/t/okteto-self-hosted-helm-installation-fails/606/1 "2023-02-15T11:49:27Z")

</div>

Facing this error when installing okteto with helm charts. This k8s cluster already has nginx working as the ingress controller serving apps. The current ingress class used is “nginx”

Please help.

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: IngressClass “nginx” in namespace “” exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key “meta.helm.sh/release-name” must equal “okteto”: current value is “ingress-nginx”; annotation validation error: key “meta.helm.sh/release-namespace” must equal “okteto”: current value is “nginx-ingress”

---

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)\
**Post date:** [February 16, 2023, 3:12pm UTC](https://community.okteto.com/t/okteto-self-hosted-helm-installation-fails/606/2 "2023-02-16T15:12:35Z")

</div>

Hi @tuxomaster ,

Which version of Okteto Self-Hosted are you installing?

---

<div class="post-metadata">

**Author:** ![ramiro](https://sea1.discourse-cdn.com/flex019/user_avatar/community.okteto.com/ramiro/32/6_2.png) [@ramiro](https://community.okteto.com/u/ramiro)\
**Post date:** [February 16, 2023, 4:53pm UTC](https://community.okteto.com/t/okteto-self-hosted-helm-installation-fails/606/3 "2023-02-16T16:53:51Z")

</div>

Hi,

By default, Okteto installs NGINX and it sets an IngressClass. We recommend installing Okteto in a cluster without other Ingress Controllers so it’s easier.

But if you already have an NGINX Ingress pre-installed in your cluster, you can use the configuration in your Helm values file to make Okteto use a different IngressClass:

```auto
ingress:
  class: okteto-nginx
  oktetoIngressClass: okteto-nginx

ingress-nginx:
  controller:
    ingressClass: okteto-nginx
    ingressClassResource:
      name: okteto-nginx
      enabled: true
      default: false
      controllerValue: "k8s.io/nginx-test"

```
