Skip to content

Commit a51576f

Browse files
authored
chore: remove the route yaml fragment and just use the expose flag in the script (#233)
1 parent 8ad995f commit a51576f

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

.nodeshift/route.yml

Lines changed: 0 additions & 5 deletions
This file was deleted.

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
"test": "nyc --reporter=lcov mocha",
99
"prepare": "echo 'To confirm CVE compliance, run \"npm audit\"' ",
1010
"release": "standard-version -a",
11-
"openshift": "nodeshift",
11+
"openshift": "nodeshift --expose",
1212
"openshift:cleanup": "nodeshift undeploy --removeAll",
13-
"openshift:dockerbuild": "nodeshift --build.strategy Docker",
13+
"openshift:dockerbuild": "nodeshift --build.strategy Docker --expose",
1414
"openshift:dockerbuild:cleanup": "nodeshift undeploy --removeAll --build.strategy Docker",
15-
"openshift:enable:trace": "nodeshift --deploy.env NODE_OPTIONS='--require ./tracing.js' --dockerImage=registry.access.redhat.com/ubi8/nodejs-18",
15+
"openshift:enable:trace": "nodeshift --deploy.env NODE_OPTIONS='--require ./tracing.js' --dockerImage=registry.access.redhat.com/ubi8/nodejs-18 --expose",
1616
"start": "node .",
1717
"dev": "node . | npx pino-pretty",
1818
"dev:debug": "DEBUG=* node . "

0 commit comments

Comments
 (0)