Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove cert-manager certificate generation, use self sign instead #2146

Merged
merged 3 commits into from
Jan 8, 2025

Conversation

edeNFed
Copy link
Contributor

@edeNFed edeNFed commented Jan 7, 2025

No description provided.

Cert-manager has been unreliable, often failing to generate certificates
correctly or at all. This PR removes all cert-manager dependencies and
switches to always self-signing certificates. As long as the CA bundle
in MutatingWebhookConfiguration matches the TLS secret used by
odigos-instrumentor, everything will work reliably. This change
simplifies the process and ensures consistent behavior.
@edeNFed edeNFed enabled auto-merge (squash) January 8, 2025 08:47
@edeNFed edeNFed merged commit 82a098e into odigos-io:main Jan 8, 2025
32 checks passed
@damemi
Copy link
Contributor

damemi commented Jan 17, 2025

@edeNFed I think we should require cert-manager for OpenShift certification. The requirements for certification include generating an Operator Bundle, which needs a set of ready-to-deploy manifests.

We can generate these manifests with helm template, but they will have the same self-signed cert generated. We obviously shouldn't check that into our open source code, but even if we only do it in the release pipeline for the Operator Bundle image it means every install of Odigos will use the same cert.

Do you think we could make cert-manager an optional dependency? I imagine some users might want to use cert-manager anyway.

damemi added a commit to damemi/odigos that referenced this pull request Jan 17, 2025
damemi added a commit to damemi/odigos that referenced this pull request Jan 27, 2025
damemi added a commit to damemi/odigos that referenced this pull request Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants