Skip to content

Commit 14388ff

Browse files
committed
fix: working ingress
1 parent 21aaa52 commit 14388ff

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

helm/templates/ingress.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ metadata:
55
namespace: webhook-site
66
annotations:
77
nginx.ingress.kubernetes.io/rewrite-target: /
8+
kubernetes.io/ingress.class: "nginx"
89
spec:
910
rules:
1011
- host: webhook.localhost

helm/templates/webhook-deployment.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,6 @@ spec:
4646
value: redis:6379
4747
image: webhooksite/webhook.site
4848
ports:
49-
- containerPort: 8084
49+
- containerPort: 80
5050
protocol: TCP
5151
restartPolicy: Always

helm/templates/webhook-service.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ spec:
99
port: 8084
1010
targetPort: 80
1111
selector:
12-
app: webhook
12+
app: webhook-site
1313
---
1414
apiVersion: v1
1515
kind: Service

0 commit comments

Comments
 (0)