diff --git a/MidrandBookshop/MidrandBookshop.csproj b/MidrandBookshop/MidrandBookshop.csproj
index c0253fb..2f45540 100644
--- a/MidrandBookshop/MidrandBookshop.csproj
+++ b/MidrandBookshop/MidrandBookshop.csproj
@@ -18,13 +18,13 @@
-
+
-
+
@@ -54,6 +54,7 @@
+
diff --git a/MidrandBookshop/Program.cs b/MidrandBookshop/Program.cs
index a7d4499..90017df 100644
--- a/MidrandBookshop/Program.cs
+++ b/MidrandBookshop/Program.cs
@@ -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<,>));
diff --git a/midrandbooks-uat.yml b/midrandbooks-uat.yml
index 0abdaa5..11f2e49 100644
--- a/midrandbooks-uat.yml
+++ b/midrandbooks-uat.yml
@@ -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