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