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

Removed a mutual dependency between logstorage and other components if certificates are missing required key usages. #3402

Merged
merged 2 commits into from
Jul 3, 2024

Conversation

rene-dekker
Copy link
Member

Previously, this check existed already (<release-1.30). See https://github.com/tigera/operator/blob/release-v1.30/pkg/controller/logstorage/logstorage_controller.go#L491

When the controller was split up into multiple other controllers, this check slipped through the cracks, creating a mutual dependency between the logstorage controllers and other controllers like fluentd. If the fluentd, compliance, etc... secret has a bad key usage, the secret controller will result in an error. Because logstorage is not ready/available, the compliance_controller won't do anything.

Secrets controller is now adding internal-manager-tls to its bundle, rather than manager-tls. The internal secret is the one that is used for component-to-component authentication, while manager-tls is used for browser-to-manager TLS.

…key usages when there is a mutual dependency between two controllers.

Secrets controller is now adding internal-manager-tls to its bundle, rather than manager-tls. The internal secret is the one that is used for component-to-component authentication, while manager-tls is used for browser-to-manager TLS.
@rene-dekker rene-dekker merged commit 969ab70 into tigera:release-v1.32 Jul 3, 2024
2 checks passed
@rene-dekker rene-dekker deleted the CI-1558-3.18 branch July 3, 2024 00:24
rene-dekker added a commit that referenced this pull request Jul 4, 2024
…two controller rely on the (#3404)

* Fix deadlock situation where two controller rely on the other to finish successfully.

* Don't block controllers when the certs they are trusting are missing key usages when there is a mutual dependency between two controllers.

Secrets controller is now adding internal-manager-tls to its bundle, rather than manager-tls. The internal secret is the one that is used for component-to-component authentication, while manager-tls is used for browser-to-manager TLS.
@rene-dekker rene-dekker changed the title Ci 1558 3.18 Removed a mutual dependency between logstorage and other components if certificates are missing required key usages. Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants