You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CLOUDP-351614: Fix monitoring failure after disabling TLS on AppDB
When TLS is disabled on AppDB, the operator now correctly clears stale
TLS params from the monitoring configuration. This prevents the monitoring
agent from trying to use certificate files that no longer exist.
Changes:
- Rename AddMonitoringAndBackup to ConfigureMonitoringAndBackup (better name)
- Clear only TLS-specific fields (useSslForAllConnections,
sslTrustedServerCertificates, sslClientCertificate) from additionalParams
- Only remove additionalParams map if empty after clearing TLS fields
- Fix applied to both deployment.go (regular MongoDB) and
appdbreplicaset_controller.go (AppDB)
- Add unit tests for the TLS param clearing functions
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
0 commit comments