Skip to content

Bug: Installing devtron/devtron-operator Helm chart with cicd module fails #6138

@OctavianHome

Description

@OctavianHome

📜 Description

If you install (upgrade) Devtron Hem Chart with cicd install module enabled the Helm is raising an error (CustomResourceDefinition workflows.argoproj.io).
If you install (upgrade) Devtron Hem Chart without cicd install module it is working fine.

👟 Reproduction steps

Add Helm Repo:

helm repo add devtron https://helm.devtron.ai

Update Helm Repo:

helm repo update devtron

Install Helm Dashboard by Devtron (devtron-operator-0.22.78.tgz):

helm upgrade \
    --install "devtron" \
    --namespace "devtroncd" --create-namespace \
    devtron/devtron-operator \
    --set installer.modules={cicd} \
    --wait \
    --debug

👍 Expected behavior

The Helm installation to be successful.

👎 Actual Behavior

Helm error:

Error: Unable to continue with install: CustomResourceDefinition "workflows.argoproj.io" in namespace "" exists and cannot be imported into the current release: invalid ownership metadata; annotation validation error: key "meta.helm.sh/release-name" must equal "devtron": current value is "argo"; annotation validation error: key "meta.helm.sh/release-namespace" must equal "devtroncd": current value is "argo" 

☸ Kubernetes version

AKS 1.30.5

Cloud provider

Azure - AKS

🌍 Browser

Chrome

🧱 Your Environment

No response

✅ Proposed Solution

No response

👀 Have you spent some time to check if this issue has been raised before?

  • I checked and didn't find any similar issue

🏢 Have you read the Code of Conduct?

Metadata

Metadata

Labels

bugSomething isn't workingneeds-triageIssue is not approved or ready-to-work ontriage-needs-informationIndicates an issue needs more information.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions