Skip to content
This repository has been archived by the owner on Nov 26, 2021. It is now read-only.

Commit

Permalink
secret key from configuration changed
Browse files Browse the repository at this point in the history
  • Loading branch information
Goncalo Oliveira committed Dec 9, 2020
1 parent 0021ea2 commit 9b9e670
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Configuration/SecretsConfigurationProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public override void Load()

foreach ( var secret in secrets )
{
var secretName = string.Concat( "openfaas_secret_", Path.GetFileName( secret ) );
var secretName = string.Concat( "_secret_", Path.GetFileName( secret ) );
var secretValue = File.ReadAllBytes( secret );

Data.Add( secretName, Convert.ToBase64String( secretValue ) );
Expand Down
4 changes: 2 additions & 2 deletions src/faas-run.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework>
<Version>1.3</Version>
<Version>1.4</Version>
<Authors>Goncalo Oliveira</Authors>
<Company>RedPanda Ltd</Company>
<Description>FaaS runner for ASPNET functions</Description>
Expand All @@ -17,7 +17,7 @@
<PackageReference Include="Microsoft.Extensions.Configuration" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="5.0.0" />
<PackageReference Include="Microsoft.Extensions.Options" Version="5.0.0" />
<PackageReference Include="Redpanda.OpenFaaS.Functions" Version="1.1.0" />
<PackageReference Include="Redpanda.OpenFaaS.Functions" Version="1.2.0" />
</ItemGroup>

</Project>

0 comments on commit 9b9e670

Please sign in to comment.