grafana / oncall

Developer-friendly incident response with brilliant Slack integration
GNU Affero General Public License v3.0
3.44k stars 276 forks source link

Issue when trying to install with helm #2281

Open ydbdyds opened 1 year ago

ydbdyds commented 1 year ago

What went wrong?

Hi, I have encountered an issue when trying to install the helm chart on my local kubernetes. I get the following message:

Error: INSTALLATION FAILED: rendered manifests contain a resource that already exists. Unable to continue with install: CustomResourceDefinition "certificaterequests.cert-manager.io" in namespace "" 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 "release-oncall"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "test"

How do we reproduce it?

helm install --wait --set base_url=example.com --set grafana."grafana.ini".server.domain=example.com release-oncall grafana/oncall -n test

Grafana OnCall Version

v1.2.44

Product Area

Helm

Grafana OnCall Platform?

Kubernetes

User's Browser?

kubernetes version v1.23

Anything else to add?

No response

seanatjsi commented 4 months ago

Issue still occurring. Is there any fix planned?