aboutsummaryrefslogtreecommitdiffstats
path: root/k8s/ui-deployment.yaml
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-07-18 12:39:03 -0700
committerAdam Soltys <[email protected]>2021-07-18 12:39:03 -0700
commit4071ba232a96af7ecada44b04c1466f8a98cfe7f (patch)
treef06756170188ec48794220d5f9d87813ef1a44c2 /k8s/ui-deployment.yaml
parent345d69fe1e025bce409a7fde11320052aa9c7043 (diff)
downloadcoinos-server-4071ba232a96af7ecada44b04c1466f8a98cfe7f.tar.gz
coinos-server-4071ba232a96af7ecada44b04c1466f8a98cfe7f.zip
translate env vars for k8s
Diffstat (limited to 'k8s/ui-deployment.yaml')
-rw-r--r--k8s/ui-deployment.yaml16
1 files changed, 12 insertions, 4 deletions
diff --git a/k8s/ui-deployment.yaml b/k8s/ui-deployment.yaml
index 363808ce..86912390 100644
--- a/k8s/ui-deployment.yaml
+++ b/k8s/ui-deployment.yaml
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment
metadata:
annotations:
- kompose.cmd: kompose convert
+ kompose.cmd: kompose convert -f docker-compose-resolved.yaml
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
@@ -13,11 +13,12 @@ spec:
selector:
matchLabels:
io.kompose.service: ui
- strategy: {}
+ strategy:
+ type: Recreate
template:
metadata:
annotations:
- kompose.cmd: kompose convert
+ kompose.cmd: kompose convert -f docker-compose-resolved.yaml
kompose.version: 1.22.0 (955b78124)
creationTimestamp: null
labels:
@@ -26,11 +27,18 @@ spec:
containers:
- env:
- name: NODE_ENV
- value: production
+ value: development
image: asoltys/coinos-ui
name: ui
ports:
- containerPort: 8085
resources: {}
+ volumeMounts:
+ - mountPath: /coinos
+ name: ui-claim0
restartPolicy: Always
+ volumes:
+ - name: ui-claim0
+ persistentVolumeClaim:
+ claimName: ui-claim0
status: {}