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: ...@@ -37,10 +37,10 @@ spec:
resources: resources:
limits: limits:
cpu: '1' cpu: '1'
memory: 256Mi memory: 384Mi
requests: requests:
cpu: 200m cpu: 200m
memory: 256Mi memory: 384Mi
env: env:
- name: CONFIG_SECRET_PATH - name: CONFIG_SECRET_PATH
value: "/run/secrets/react-membership-app/secret.properties" value: "/run/secrets/react-membership-app/secret.properties"
......
...@@ -37,10 +37,10 @@ spec: ...@@ -37,10 +37,10 @@ spec:
resources: resources:
limits: limits:
cpu: '1' cpu: '1'
memory: 256Mi memory: 384Mi
requests: requests:
cpu: 200m cpu: 200m
memory: 256Mi memory: 384Mi
env: env:
- name: CONFIG_SECRET_PATH - name: CONFIG_SECRET_PATH
value: "/run/secrets/react-membership-app/secret.properties" value: "/run/secrets/react-membership-app/secret.properties"
...@@ -49,7 +49,7 @@ spec: ...@@ -49,7 +49,7 @@ spec:
mountPath: "/run/secrets/react-membership-app" mountPath: "/run/secrets/react-membership-app"
readOnly: true readOnly: true
- mountPath: "/app/organization/imagestore" - mountPath: "/app/organization/imagestore"
name: eclipsefdn-react-membership-uploads-volume name: eclipsefdn-react-membership-staging-uploads-volume
- name: nginx - name: nginx
image: eclipsefdn/eclipsefdn-react-membership-www:latest image: eclipsefdn/eclipsefdn-react-membership-www:latest
imagePullPolicy: Always imagePullPolicy: Always
...@@ -64,14 +64,14 @@ spec: ...@@ -64,14 +64,14 @@ spec:
memory: 128Mi memory: 128Mi
volumeMounts: volumeMounts:
- mountPath: "/usr/share/nginx/imagestore" - mountPath: "/usr/share/nginx/imagestore"
name: eclipsefdn-react-membership-uploads-volume name: eclipsefdn-react-membership-staging-uploads-volume
volumes: volumes:
- name: secret-properties - name: secret-properties
secret: secret:
secretName: react-membership-app-staging secretName: react-membership-app-staging
- name: eclipsefdn-react-membership-uploads-volume - name: eclipsefdn-react-membership-staging-uploads-volume
persistentVolumeClaim: persistentVolumeClaim:
claimName: eclipsefdn-react-membership-uploads claimName: eclipsefdn-react-membership-staging-uploads
--- ---
apiVersion: "v1" apiVersion: "v1"
kind: "Service" 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