We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63af1f commit 8d79237Copy full SHA for 8d79237
src/KubeOps/Operator/KubernetesOperator.cs
@@ -46,12 +46,15 @@ public KubernetesOperator(OperatorSettings settings)
46
public Task<int> Run(string[] args)
47
{
48
ConfigureRequiredServices();
49
+
50
var app = new CommandLineApplication<RunOperator>();
51
var host = _builder.Build();
52
53
app
54
.Conventions
55
.UseDefaultConventions()
56
.UseConstructorInjection(host.Services);
57
58
DependencyInjector.Services = host.Services;
59
JsonConvert.DefaultSettings = () => host.Services.GetRequiredService<JsonSerializerSettings>();
60
0 commit comments