public async Task StopAsync(CancellationToken cancellationToken) { _certManagerTimer.Enabled = false; await _certificateWatcher.Stop(); await _secretsWatcher.Stop(); _monitorTriggerChannel?.Writer.Complete(); }
public async Task StopAsync(CancellationToken cancellationToken) { await _crdV1Watcher.Stop(); foreach (var certificatesWatcher in _certificatesWatchers.Values) { await certificatesWatcher.Stop(); } await _secretsWatcher.Stop(); }
public async Task StopAsync(CancellationToken cancellationToken) { await _secretsWatcher.Stop(); }
protected async Task WatchersStop() { await _resourceWatcher.Stop(); await _namespaceWatcher.Stop(); }