Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix Route API version #65

Merged
merged 2 commits into from
Nov 26, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion samples/web-nodejs-with-db-sample/mongo-db.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ items:
name: mongo
name: mongo-controller
spec:
selector:
matchLabels:
name: mongo
template:
metadata:
labels:
Expand All @@ -36,7 +39,6 @@ items:
name: mongo
labels:
name: mongo
name: mongo
spec:
ports:
- port: 27017
Expand Down
5 changes: 3 additions & 2 deletions samples/web-nodejs-with-db-sample/nodejs-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ objects:
spec:
replicas: 1
selector:
name: web
matchLabels:
app: nodejs
template:
metadata:
labels:
Expand Down Expand Up @@ -64,7 +65,7 @@ objects:
selector:
app: nodejs
-
apiVersion: v1
apiVersion: route.openshift.io/v1
kind: Route
metadata:
name: che
Expand Down