goharbor / harbor

An open source trusted cloud native registry project that stores, signs, and scans content.
https://goharbor.io
Apache License 2.0
23.93k stars 4.74k forks source link

harbor version update in the k8s cluster #21017

Open itsecforu opened 1 week ago

itsecforu commented 1 week ago

Please advise if it would be correct to change the version of the image in the deployment? from: image: 'goharbor/harbor-core:v2.2.0' to image: 'goharbor/harbor-core:v2.2.0'

chlins commented 1 week ago

You mentioned that the two images appear identical, could you please point out the difference between them?

itsecforu commented 2 days ago

You mentioned that the two images appear identical, could you please point out the difference between them?

I was wrong, meant 2.2.7 or higher

itsecforu commented 10 hours ago

if I try via helm, i get error:

helm upgrade harbor harbor/harbor -n harbor WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /root/.kube/config Error: UPGRADE FAILED: template: harbor/templates/registry/registry-secret.yaml:11:62: executing "harbor/templates/registry/registry-secret.yaml" at <include "harbor.secretKeyHelper" (dict "key" "REGISTRY_HTTP_SECRET" "data" $existingSecret.data)>: error calling include: template: harbor/templates/_helpers.tpl:59:41: executing "harbor.secretKeyHelper" at <.data>: wrong type for value; expected map[string]interface {}; got interface {}