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

Multitenancy Support for External Certs #1971

Merged

Conversation

cniackz
Copy link
Contributor

@cniackz cniackz commented Feb 5, 2024

Objective:

To add multi-tenancy support for external certificates

Explanation:

Currently, we only support a single tenant in the operator-ca-tls secret. The manual renewal of the certificate for a single tenant is described in https://github.com/minio/operator/blob/master/docs/cert-manager.md#create-operator-ca-tls-secret. However, a challenge arises when attempting to automate this process for a multi-tenancy architecture. This pull request marks the beginning of a solution. We propose allowing the addition of multiple secrets/certificates, one per tenant. With this enhancement, when renewal is required, we can individually renew each certificate without the need to overwrite or append to a single secret. This approach avoids potential complications and makes debugging and implementation more straightforward. Furthermore, this change maintains backward compatibility, as it introduces a new logic that does not impact the current behavior, already utilized by many users.

@cniackz cniackz self-assigned this Feb 5, 2024
@cniackz cniackz added the enhancement New feature or request label Feb 5, 2024
Copy link
Member

@pjuarezd pjuarezd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@cniackz cniackz merged commit e360633 into minio:master Feb 6, 2024
26 checks passed
@cniackz cniackz deleted the multitenancy-support-for-external-certs-1 branch February 6, 2024 03:51
@cniackz
Copy link
Contributor Author

cniackz commented Feb 6, 2024

Thank you guys ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants