contrib-helm-chart icon indicating copy to clipboard operation
contrib-helm-chart copied to clipboard

extraObjects don't work

Open ledmonster opened this issue 5 months ago • 1 comments
trafficstars

this seems doesn't work:

  • 04f74c51d88decbbbb24e0739d5c696e43c19721

When I tried to use extraObjects, I got this error.

Error: Unable to continue with install: ManagedCertificate "redash-ssl-cert" in namespace "default" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "redash"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "default"

But we can't set helm.sh/chart label dynamically.

ledmonster avatar Jun 23 '25 03:06 ledmonster

This error means you've created that object manually (or via another helm chart). If you want to force it, either manually set the annotations mentioned, or pass --take-ownership to the helm command

BowlesCR avatar Jun 26 '25 15:06 BowlesCR