goharbor/harbor-helm

Switching Harbor from nodePort to cluster IP or vice versa without Harbor reinstallation

Leela-SR opened this issue · 1 comments

How do we switch between nodePort and clusterIP without reinstallation.
When Harbor is installed with serviceType as nodePort, a service called harbor exposing 30003 and 30002 is created. How do I switch to clusterIP without reinstallation.

Generally, a service which is ClusterIP is switched to nodePort by editing its "Type: " in its yaml file. in case of Harbor, it seems to be little different. Hence, posted above question.

zyyw commented

@Leela-SR have you got a chance to try something like helm upgrade myrelease --set xxx=xxx,yyy=yyy. Haven't verified yet, just an idea that comes into my mind.