Skip to content
This repository was archived by the owner on Mar 20, 2026. It is now read-only.

Mount operator-ca-tls secret for tenants#1225

Merged
dvaldivia merged 1 commit intominio:masterfrom
ooraini:master
Aug 25, 2022
Merged

Mount operator-ca-tls secret for tenants#1225
dvaldivia merged 1 commit intominio:masterfrom
ooraini:master

Conversation

@ooraini
Copy link
Copy Markdown
Contributor

@ooraini ooraini commented Jul 29, 2022

The current implementation doesn't do what it's supposed to do. The secret operator-ca-tls is never mounted.

Inside if k8serrors.IsNotFound(err) you mutate err after the last API call and it gets set to nil. Once you exit the if you return false , nil unconditionally.

@dvaldivia dvaldivia merged commit 1753d63 into minio:master Aug 25, 2022
@dvaldivia
Copy link
Copy Markdown
Collaborator

Thanks for your PR @ooraini

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants