From b25eaf481f53d79f997d61a03526c1aeaeaa77d8 Mon Sep 17 00:00:00 2001 From: kandrusyak Date: Fri, 30 Jun 2023 18:44:14 +0300 Subject: [PATCH] add nfs mount --- deploy/Chart.yaml | 2 +- deploy/templates/deployment.yaml | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/deploy/Chart.yaml b/deploy/Chart.yaml index cf01781..21e3f88 100644 --- a/deploy/Chart.yaml +++ b/deploy/Chart.yaml @@ -16,7 +16,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.1.0 +version: 0.1.1 engine: gotpl diff --git a/deploy/templates/deployment.yaml b/deploy/templates/deployment.yaml index b8f9284..9b2cd68 100644 --- a/deploy/templates/deployment.yaml +++ b/deploy/templates/deployment.yaml @@ -33,4 +33,11 @@ spec: ports: - name: http containerPort: {{ .Values.app.server.port }} - protocol: TCP \ No newline at end of file + protocol: TCP + volumeMounts: + - name: data + mountPath: /app/public + volumes: + - name: data + persistentVolumeClaim: + claimName: fileshare \ No newline at end of file