Open LukeShortCloud opened 2 years ago
When using a wrong format, this is a common error (error from helm install --set "ingress.annotations.cert-manager.io/cluster-issuer"=self-signed harbor bitnami/harbor
):
Error: YAML parse error on harbor/templates/ingress/ingress.yaml: error unmarshaling JSON: while decoding JSON: json: cannot unmarshal object into Go struct field .metadata.annotations of type string
Quote the string and escape any periods.
Example:
helm template --set "ingress.annotations.cert-manager\.io/cluster-issuer"=self-signed harbor bitnami/harbor
Renders out to be: