<p>I've deployed Harbor on my K8S cluster as follows: </p>

<pre><code>helm install dockistry harbor/harbor \
  --set expose.type=ingress
</code></pre>

<p>Then the ingress ressource shows:</p>

<pre><code>kubectl get ingress
NAME                       HOSTS                                     ADDRESS          PORTS     AGE
dockistry-harbor-ingress   core.harbor.domain,notary.harbor.domain   xxx.xxx.100.61   80, 443   2m43s
</code></pre>

<p>The <code>HOSTS</code> is wrong and would like to change it. How can I edit <code>dockistry-harbor-ingress</code> ?</p>

<pre><code>kubectl edit ingress dockistry-harbor-ingress
</code></pre>

<p>will open up an editor where you can edit and then save it which automatically applies the change to the cluster.</p>

<p>Alternatively you can <code>kubectl get ingress dockistry-harbor-ingress --export -o yaml &gt; ingress.yaml</code> to save in a yaml and edit it and then apply it via <code>kubectl apply -f ingress.yaml</code></p>
