Merge pull request 'Added data protection key persistance' (#71) from cart into main
Reviewed-on: #71
This commit was merged in pull request #71.
This commit is contained in:
@@ -18,13 +18,13 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="LiteCharms.Features" Version="1.125.0" />
|
||||
<PackageReference Include="LiteCharms.Features" Version="1.127.0" />
|
||||
</ItemGroup>
|
||||
|
||||
<!-- UI -->
|
||||
<ItemGroup>
|
||||
<PackageReference Include="ANM.Blazored.Toast" Version="0.1.1" />
|
||||
<PackageReference Include="LiteCharms.Features.MidrandBooks" Version="1.125.0" />
|
||||
<PackageReference Include="LiteCharms.Features.MidrandBooks" Version="1.127.0" />
|
||||
|
||||
<!-- Global Usings -->
|
||||
<Using Include="Blazored.Toast.Services" />
|
||||
@@ -54,6 +54,7 @@
|
||||
<Using Include="Microsoft.JSInterop" />
|
||||
<Using Include="System.Globalization" />
|
||||
<Using Include="System.Security.Claims" />
|
||||
<Using Include="Microsoft.AspNetCore.HttpOverrides" />
|
||||
<Using Include="Microsoft.Extensions.Options" />
|
||||
<Using Include="Microsoft.AspNetCore.Components.Authorization" />
|
||||
<Using Include="Microsoft.AspNetCore.Components.Routing" />
|
||||
|
||||
@@ -2,7 +2,6 @@ using LiteCharms.Features.Extensions;
|
||||
using LiteCharms.Features.Mediator;
|
||||
using LiteCharms.Features.MidrandBooks.Extensions;
|
||||
using LiteCharms.Features.MidrandBooks.Payments;
|
||||
using Microsoft.AspNetCore.HttpOverrides;
|
||||
using MidrandBookshop.Components;
|
||||
using static LiteCharms.Features.Extensions.Quartz;
|
||||
|
||||
@@ -15,7 +14,7 @@ builder.AddMonitoring();
|
||||
builder.Services.AddEndpointsApiExplorer();
|
||||
|
||||
builder.Services.AddMediator();
|
||||
builder.Services.AddLiteCharmsWebSecurity(builder.Configuration);
|
||||
builder.Services.AddLiteCharmsWebSecurity(builder.Configuration, builder.Environment);
|
||||
|
||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>));
|
||||
builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>));
|
||||
|
||||
@@ -172,7 +172,10 @@ spec:
|
||||
volumeMounts:
|
||||
- name: data
|
||||
mountPath: /app/wwwroot/content
|
||||
resources:
|
||||
subPath: bookshop-content
|
||||
- name: shared-keys-volume
|
||||
mountPath: /app/shared-keys
|
||||
subPath: dataprotection-keys
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /health
|
||||
@@ -189,6 +192,9 @@ spec:
|
||||
- name: data
|
||||
persistentVolumeClaim:
|
||||
claimName: midrandbooks-pvc
|
||||
- name: shared-keys-volume
|
||||
persistentVolumeClaim:
|
||||
claimName: midrandbooks-pvc
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
|
||||
Reference in New Issue
Block a user