Commit cf30af1a authored by Martin Lowe's avatar Martin Lowe 🇨🇦
Browse files

Update imagestore volumes to split staging + production stores

parent 324535ce
......@@ -37,10 +37,10 @@ spec:
resources:
limits:
cpu: '1'
memory: 256Mi
memory: 384Mi
requests:
cpu: 200m
memory: 256Mi
memory: 384Mi
env:
- name: CONFIG_SECRET_PATH
value: "/run/secrets/react-membership-app/secret.properties"
......
......@@ -37,10 +37,10 @@ spec:
resources:
limits:
cpu: '1'
memory: 256Mi
memory: 384Mi
requests:
cpu: 200m
memory: 256Mi
memory: 384Mi
env:
- name: CONFIG_SECRET_PATH
value: "/run/secrets/react-membership-app/secret.properties"
......@@ -49,7 +49,7 @@ spec:
mountPath: "/run/secrets/react-membership-app"
readOnly: true
- mountPath: "/app/organization/imagestore"
name: eclipsefdn-react-membership-uploads-volume
name: eclipsefdn-react-membership-staging-uploads-volume
- name: nginx
image: eclipsefdn/eclipsefdn-react-membership-www:latest
imagePullPolicy: Always
......@@ -64,14 +64,14 @@ spec:
memory: 128Mi
volumeMounts:
- mountPath: "/usr/share/nginx/imagestore"
name: eclipsefdn-react-membership-uploads-volume
name: eclipsefdn-react-membership-staging-uploads-volume
volumes:
- name: secret-properties
secret:
secretName: react-membership-app-staging
- name: eclipsefdn-react-membership-uploads-volume
- name: eclipsefdn-react-membership-staging-uploads-volume
persistentVolumeClaim:
claimName: eclipsefdn-react-membership-uploads
claimName: eclipsefdn-react-membership-staging-uploads
---
apiVersion: "v1"
kind: "Service"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment