Skip to content

Commit

Permalink
Merge pull request OpenBankProject#12 from tawoe/TOB-master
Browse files Browse the repository at this point in the history
make openshift README.md foolproof
  • Loading branch information
tawoe authored Jan 24, 2020
2 parents a4f5983 + 538696b commit fd4ed58
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
13 changes: 11 additions & 2 deletions openshift/README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# Minishift set-up (rebranded minikube)

- Install minishift (https://docs.okd.io/latest/minishift/getting-started/index.html)

- Install virtualbox (or kvm)

```
minikube start
minishift start
```


Expand Down Expand Up @@ -35,6 +35,15 @@ Now run the template as a new app:
oc new-app obp-api-example # App name comes from the template name in yaml file.
```

Add a route for the service:
```
oc expose svc/obpapi-service
```

See if it works:


### Seed the sandbox: Deploy a bootstrap pod

We have a bootstrap node which creates an initial user for you automatically.
Expand Down
4 changes: 1 addition & 3 deletions openshift/obpapi_openshift.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ objects:
image: openbankproject/obp-api # docker build -t obpapi-kube .
resources:
requests:
memory: "600Mi"
memory: "1200Mi"
env:
- name: OBP_DB_DRIVER
valueFrom:
Expand All @@ -75,8 +75,6 @@ objects:
ports:
- containerPort: 8080
name: http
- containerPort: 5432
name: postgres
- kind: Service
apiVersion: v1
metadata:
Expand Down

0 comments on commit fd4ed58

Please sign in to comment.