diff --git a/cobalt-chart/templates/deployment.yaml b/cobalt-chart/templates/deployment.yaml index ee1f2f8a..d6b16335 100644 --- a/cobalt-chart/templates/deployment.yaml +++ b/cobalt-chart/templates/deployment.yaml @@ -39,6 +39,9 @@ spec: - name: http containerPort: {{ .Values.service.port }} protocol: TCP + volumeMounts: + - mountPath: /app/src/ + name: cookies-volume env: - name: API_URL value: https://api.freesavevideo.online/ @@ -50,6 +53,10 @@ spec: value: 0x4AAAAAAAw8jRb9G7cWXnbd resources: {{- toYaml .Values.resources | nindent 12 }} + volumes: + - name: cookies-volume + persistentVolumeClaim: + claimName: {{ .Release.Name }}-pvc {{- with .Values.nodeSelector }} nodeSelector: {{- toYaml . | nindent 8 }}