Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/hueckidom/ping-pong-game
Browse files Browse the repository at this point in the history
…into master
  • Loading branch information
hueckidom committed Aug 21, 2024
2 parents 99a3fbe + 7da578b commit fd989fb
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 8 deletions.
2 changes: 1 addition & 1 deletion deployment/helm/client/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
env:
- name: VITE_API_URL
value: ping-pong-service-service.default.svc.cluster.local:8080
value: http://valuehero-pingpong-api.runs.onstackit.cloud/
ports:
- name: http
containerPort: {{ .Values.service.port }}
Expand Down
7 changes: 0 additions & 7 deletions deployment/helm/client/templates/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,5 @@ spec:
backend:
service:
name: ping-pong-client-service
port:
number: 8080
- path: /api
pathType: Prefix
backend:
service:
name: ping-pong-service-service
port:
number: 8080
19 changes: 19 additions & 0 deletions deployment/helm/service/templates/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: service-ingress
annotations:
nginx.ingress.kubernetes.io/rewrite-target: /
spec:
ingressClassName: nginx
rules:
- host: valuehero-pingpong-api.runs.onstackit.cloud
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: ping-pong-service-service
port:
number: 8080

0 comments on commit fd989fb

Please sign in to comment.