Skip to content

Commit

Permalink
fix Kyma deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
gregorwolf committed Feb 4, 2024
1 parent 9d8dae9 commit 5897151
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ FROM gcr.io/distroless/nodejs:18
COPY --from=build-env /app /app
WORKDIR /app
EXPOSE 4004
ENV NODE_ENV=production
ENV NODE_ENV=kyma
CMD ["node_modules/@sap/cds/bin/cds-serve.js"]
4 changes: 2 additions & 2 deletions deployment/beershop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -95,15 +95,15 @@ spec:
app: beershop
tier: frontend
---
apiVersion: gateway.kyma-project.io/v1alpha1
apiVersion: gateway.kyma-project.io/v1beta1
kind: APIRule
metadata:
labels:
app: beershop
name: beershop
spec:
host: beershop
service:
host: beershop
name: beershop
port: 4004
gateway: kyma-gateway.kyma-system.svc.cluster.local
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@
"[heroku]": {
"impl": "./heroku/mock-auth-handler.js"
},
"[kyma]": {
"kind": "basic"
},
"[production]": {
"kind": "xsuaa"
}
Expand Down

0 comments on commit 5897151

Please sign in to comment.