Describe the bug
If I start app with KubeOps while I don't have a connection to Kubernetes API server app just crash.
To reproduce
Start app with KubOps without a connection to Kubernetes API server
Expected behavior
Try to reconnect after some time
Screenshots
No response
Additional Context
UHE is here:
LeaderElector.cs
public async Task StartAsync(CancellationToken cancellationToken)
{
...
_operatorDeployment = (await _client.List<V1Deployment>(
_namespace,
new EqualsSelector("operator-deployment", _settings.Name))).FirstOrDefault();
...
}
Describe the bug
If I start app with KubeOps while I don't have a connection to Kubernetes API server app just crash.
To reproduce
Start app with KubOps without a connection to Kubernetes API server
Expected behavior
Try to reconnect after some time
Screenshots
No response
Additional Context
UHE is here:
LeaderElector.cs