From 4071ba232a96af7ecada44b04c1466f8a98cfe7f Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 18 Jul 2021 12:39:03 -0700 Subject: translate env vars for k8s --- k8s/ui-deployment.yaml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'k8s/ui-deployment.yaml') 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: {} -- cgit v1.2.3