<p>I am trying deploy harbor as the following: </p>

<pre><code>helm install hub harbor/harbor \
  --namespace prod \
  --set expose.ingress.hosts.core=hub.service.example.io \
  --set expose.ingress.annotations.'kubernetes\.io/ingress\.class'=contour \
  --set expose.ingress.annotations.'cert-manager\.io/cluster-issuer'=letsencrypt-prod \
  --set expose.ingress.annotations.'ingress\.kubernetes\.io/force-ssl-redirect'="true" \
  --set expose.ingress.annotations.'kubernetes\.io/tls-acme'="true" \
  --set externalURL=https://hub.service.example.io \
  --set expose.tls.secretName=secret \
  --set notary.enabled=false \
  --set secretkey=secret \
  --set harborAdminPassword=serect  
</code></pre>

<p>And I've got:</p>

<pre><code>Error: unable to build kubernetes objects from release manifest: unable to decode "": resource.metadataOnlyObject.ObjectMeta: v1.ObjectMeta.Annotations: ReadString: expects " or n, but found t, error found in #10 byte of ...|edirect":true,"ingre|..., bigger context ...|prod","ingress.kubernetes.io/force-ssl-redirect":true,"ingress.kubernetes.io/proxy-body-size":"0","i|...  
</code></pre>

<p>What am I doing wrong?  </p>

<p>The error shows that the value of 
<code>"ingress.kubernetes.io/force-ssl-redirect":true</code> is not string,  it's expting string like <code>"ingress.kubernetes.io/force-ssl-redirect":"true"</code></p>

<p>You can set the boolean annotation value as string by forcing, using <code>--set-string</code> like following</p>

<pre><code>helm install hub harbor/harbor \
 --namespace prod \
 --set expose.ingress.hosts.core=hub.service.example.io \
 --set expose.ingress.annotations.'kubernetes\.io/ingress\.class'=contour \
 --set expose.ingress.annotations.'cert-manager\.io/cluster-issuer'=letsencrypt-prod \
 --set-string expose.ingress.annotations.'ingress\.kubernetes\.io/force-ssl-redirect'="true" \
 --set-string expose.ingress.annotations.'kubernetes\.io/tls-acme'="true" \
 --set externalURL=https://hub.service.example.io \
 --set expose.tls.secretName=secret \
 --set notary.enabled=false \
 --set secretkey=secret \
 --set harborAdminPassword=serect 
</code></pre>
