Skip to content

🐛 Disabling installation of Cert Manager when already installed, does not work. #414

Closed

Description

@mrsabath

Describe the bug

Some OCP instances already have Cert Manager installed, so I updated the charts/kagenti-deps/values.yaml as follow:

#   Enable or disable components here
# ------------------------------------------------------------------
components:
  certManager:
    enabled: false  

But still getting the error:

kagenti$helm install --create-namespace -n kagenti-system kagenti-deps oci://ghcr.io/kagenti/kagenti/kagenti-deps --version $LATEST_TAG
Pulled: ghcr.io/kagenti/kagenti/kagenti-deps:0.1.0-alpha.13
Digest: sha256:16cfe69d157006180653b4fffb053e0eb4eaac26255ea10b25ba41b359cadbe7
Error: INSTALLATION FAILED: Unable to continue with install: Namespace "cert-manager-operator" 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 "kagenti-deps"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "kagenti-system"

Steps To Reproduce

see the notes above

Expected Behavior

setting this parameter to false should skip the Cert Manager and its operator installation

Additional Context

No response

Activity

  1. changed the title [-]bug: Disabling installation of Cert Manager when already installed, does not work.[/-] [+]:bug: Disabling installation of Cert Manager when already installed, does not work.[/+] on Nov 21, 2025
  2. added theissue type on Dec 5, 2025
  3. added
    bug
    nice to have
    on Dec 5, 2025
  4. pdettori commented on Dec 5, 2025

    @pdettori
    Member

    It looks like there is a conflict on the namespace - the helm chart tries to create the cert-manager-operator namespace even if installing cert-manager is disabled in the helm chart.

  5. moved this from Backlog to Ready in Rossoctl Issue Prioritizationon Dec 15, 2025
  6. rubambiza commented on Jan 6, 2026

    @rubambiza
    Contributor

    Needs testing on OpenShift as reported by @pdettori

  7. moved this from Ready to In progress in Rossoctl Issue Prioritizationon Jan 6, 2026
  8. moved this from In progress to Done in Rossoctl Issue Prioritizationon Jan 6, 2026
  9. moved this from Done to In review / Needs Testing in Rossoctl Issue Prioritizationon Jan 6, 2026
  10. moved this from In review / Needs Testing to Done in Rossoctl Issue Prioritizationon Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugnice to have

Type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions