Skip to content

Commit

Permalink
NuGet package update
Browse files Browse the repository at this point in the history
  • Loading branch information
winromulus committed Oct 7, 2020
1 parent db12df5 commit b17929c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac" Version="5.2.0" />
<PackageReference Include="KubernetesClient" Version="2.0.32" />
<PackageReference Include="Autofac" Version="6.0.0" />
<PackageReference Include="KubernetesClient" Version="2.0.33" />
<PackageReference Include="MediatR" Version="8.1.0" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="3.1.8" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="3.1.8" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="6.0.0" />
<PackageReference Include="KubernetesClient" Version="2.0.32" />
<PackageReference Include="Autofac.Extensions.DependencyInjection" Version="7.0.2" />
<PackageReference Include="KubernetesClient" Version="2.0.33" />
<PackageReference Include="MediatR.Extensions.Microsoft.DependencyInjection" Version="8.1.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
<PackageReference Include="Serilog" Version="2.10.0" />
Expand Down
6 changes: 3 additions & 3 deletions src/ES.Kubernetes.Reflector.Secrets/FreeNasMirror.cs
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ private async Task OnEvent(WatcherEvent<V1Secret> e)
: certificates.Single(x => x.Name == name).Id;

var bodyGeneral = JsonSerializer.Serialize(new FreeNasSystemGeneral
{Ui_certificate = certId}, options);
{UiCertificate = certId}, options);
await client.PutAsync("system/general/", new StringContent(bodyGeneral));

_logger.LogInformation("Reflected {secretId} to FreeNas device using host secret {hostSecretId}.",
Expand All @@ -271,12 +271,12 @@ private async Task OnEventHandlingError(WatcherEvent<V1Secret> e, Exception ex)

internal class FreeNasSystemGeneral
{
public int Ui_certificate { get; set; }
public int UiCertificate { get; set; }
}

internal class FreeNasCertificateCreateImported
{
public string create_type => "CERTIFICATE_CREATE_IMPORTED";
public string CreateType => "CERTIFICATE_CREATE_IMPORTED";
public string Name { get; set; }
public string Certificate { get; set; }
public string Privatekey { get; set; }
Expand Down

0 comments on commit b17929c

Please sign in to comment.