Closed bdunne closed 1 month ago
Backported to radjabov
in commit f1ec7d74193edfb22501d1967888c575e86556d4.
commit f1ec7d74193edfb22501d1967888c575e86556d4
Author: Jason Frey <fryguy9@gmail.com>
Date: Tue Jun 11 11:50:02 2024 -0400
Merge pull request #1121 from bdunne/tls_secret_error
Fix bug in TLS secret detection
(cherry picked from commit 6a9f9938ebe7752f2cda88243fec18398d4536d4)
If someone were to successfully install the application then delete the TLSSecret, the operator would not recreate it because it detected that the Database Secret already existed. This will cause errors during reconcile when the operator tries to update the CR status. Instead, we should be checking the existence of the TLS Secret.