Skip to content

Commit 48cee74

Browse files
Fixed create backstage script and added port-fwd
1 parent bd2ea50 commit 48cee74

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

deployment/kubernetes/backstage/create-backstage.sh

+4-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ helm -n backstage upgrade --install postgres postgres-0.1.0.tgz
1515
# Install backend app dependencies using yarn
1616
cd $CODESPACE_VSCODE_FOLDER/backstage-app/backstage101
1717
yarn install --frozen-lockfile
18-
yarn tsc from backstage101 folder
18+
yarn tsc
1919

2020
# Build backstage backend app with the latest app-config.yaml file
2121
cd $CODESPACE_VSCODE_FOLDER/backstage-app/backstage101/packages/backend
@@ -33,3 +33,6 @@ docker push localhost:5001/backstage:0.1.0
3333
helm package deployment/kubernetes/backstage/helm/
3434
helm -n backstage upgrade --install backstage backstage-0.1.0.tgz
3535

36+
# Setup a port-forward from backstage:80 to localhost:8000
37+
kubectl -n backstage port-forward svc/backstage 8000:80
38+

0 commit comments

Comments
 (0)