Browse Source

Merge branch 'master' of https://gyulai.cloud/git/bme/covidok-backend

master
Daniel Gyulai 4 years ago
parent
commit
3442d95cce
  1. 3
      deploy.sh
  2. 1
      helm/covidok/templates/minio.yaml
  3. 32
      helm/covidok/templates/redis.yaml

3
deploy.sh

@ -0,0 +1,3 @@
#!/bin/bash
helm install --set service.type=LoadBalancer -n covidok covidok helm/covidok

1
helm/covidok/templates/minio.yaml

@ -11,7 +11,6 @@ spec:
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
namespace: minio
name: minio-covidok
spec:
selector:

32
helm/covidok/templates/redis.yaml

@ -0,0 +1,32 @@
apiVersion: v1
kind: Service
metadata:
name: redis
spec:
ports:
- port: 6379
selector:
app: redis-dev
---
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2
kind: Deployment
metadata:
name: redis-dev
spec:
selector:
matchLabels:
app: redis-dev
strategy:
type: Recreate
template:
metadata:
labels:
app: redis-dev
spec:
containers:
- image: redis:6
name: redis
ports:
- containerPort: 6379
name: redis
command: ["redis-server"]
Loading…
Cancel
Save