From 7d88b73033a19c521cd8929bac259212950b6197 Mon Sep 17 00:00:00 2001 From: parklize Date: Tue, 16 Jul 2024 09:18:44 +0100 Subject: [PATCH] add pvc with securitycontext --- server/charts/server/templates/pvc.yaml | 13 +++++++++++++ server/charts/server/values.yaml | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 server/charts/server/templates/pvc.yaml diff --git a/server/charts/server/templates/pvc.yaml b/server/charts/server/templates/pvc.yaml new file mode 100644 index 0000000..e05f763 --- /dev/null +++ b/server/charts/server/templates/pvc.yaml @@ -0,0 +1,13 @@ +apiVersion: v1 +kind: PersistentVolumeClaim +metadata: + name: uc2-pvc + labels: + {{- include "app.labels" . | nindent 4 }} +spec: + storageClassName: longhorn + accessModes: + - ReadWriteOnce + resources: + requests: + storage: 2Gi diff --git a/server/charts/server/values.yaml b/server/charts/server/values.yaml index 8eb627f..d271740 100644 --- a/server/charts/server/values.yaml +++ b/server/charts/server/values.yaml @@ -47,7 +47,7 @@ ingressHostName: semantification-service persistence: storageClass: "longhorn" existingClaim: "" - enabled: false + enabled: true accessMode: ReadWriteOnce size: 10Gi additionalVolumes: []