Skip to content

Commit

Permalink
Fix ports between dev & prod
Browse files Browse the repository at this point in the history
  • Loading branch information
Munkkeli committed Jan 7, 2025
1 parent 33dbab3 commit 8f080f3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .diploi/helm/app-ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ spec:
service:
name: app
port:
number: 80
number: {{ ternary 5173 80 (eq .Values.stage "development") }}
2 changes: 1 addition & 1 deletion .diploi/helm/app-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: app
spec:
ports:
- port: 80
- port: {{ ternary 5173 80 (eq .Values.stage "development") }}
name: app
selector:
app: app
2 changes: 1 addition & 1 deletion .diploi/helm/app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ spec:
image: {{ .Values.images.app }}
imagePullPolicy: Always
ports:
- containerPort: 80
- containerPort: {{ ternary 5173 80 (eq .Values.stage "development") }}
resources:
requests:
memory: 500Mi
Expand Down

0 comments on commit 8f080f3

Please sign in to comment.