Skip to content
This repository has been archived by the owner on Sep 20, 2023. It is now read-only.

Commit

Permalink
Merge branch 'mikeshultz/dshop-cache'
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeshultz committed May 29, 2020
2 parents 34cfd82 + 088e9f2 commit 31ba8be
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
Expand Up @@ -39,6 +39,11 @@ spec:
key: DATABASE_URL
- name: REDIS_URL
value: redis://localhost:6379/0
- name: DSHOP_CACHE
value: /data/dshop
volumeMounts:
- name: "{{ template "dshopBackendMainnet.fullname" . }}-dshop-cache"
mountPath: /data/dshop
port:
- name: http
containerPort: 3000
Expand Down Expand Up @@ -80,3 +85,14 @@ spec:
resources:
requests:
storage: {{ default "8Gi" .Values.dshopBackendStorageRequestSize }}
- metadata:
name: "{{ template "dshopBackendMainnet.fullname" . }}-dshop-cache"
labels:
app: {{ template "dshopBackendMainnet.fullname" . }}
spec:
accessModes:
- ReadWriteOnce # Read-write for a single node only
storageClassName: "standard"
resources:
requests:
storage: {{ default "50Gi" .Values.dshopBackendStorageRequestSize }}
Expand Up @@ -39,6 +39,11 @@ spec:
key: DATABASE_URL
- name: REDIS_URL
value: redis://localhost:6379/0
- name: DSHOP_CACHE
value: /data/dshop
volumeMounts:
- name: "{{ template "dshopBackendRinkeby.fullname" . }}-dshop-cache"
mountPath: /data/dshop
port:
- name: http
containerPort: 3000
Expand Down Expand Up @@ -80,3 +85,14 @@ spec:
resources:
requests:
storage: {{ default "8Gi" .Values.dshopBackendStorageRequestSize }}
- metadata:
name: "{{ template "dshopBackendRinkeby.fullname" . }}-dshop-cache"
labels:
app: {{ template "dshopBackendRinkeby.fullname" . }}
spec:
accessModes:
- ReadWriteOnce # Read-write for a single node only
storageClassName: "standard"
resources:
requests:
storage: {{ default "50Gi" .Values.dshopBackendStorageRequestSize }}

0 comments on commit 31ba8be

Please sign in to comment.