-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathingress-integrations.yaml
More file actions
74 lines (74 loc) · 2.03 KB
/
Copy pathingress-integrations.yaml
File metadata and controls
74 lines (74 loc) · 2.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{{- if .Values.ingress.enabled }}
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: openhands-integrations-ingress
annotations:
{{- if .Values.ingress.integrations.annotations }}
{{ .Values.ingress.integrations.annotations | toYaml | nindent 4 }}
{{- else }}
{{ .Values.ingress.annotations | toYaml | nindent 4 }}
{{- end }}
spec:
ingressClassName: {{ .Values.ingress.class }}
{{- if .Values.tls.enabled }}
tls:
- hosts:
{{- if .Values.ingress.prefixWithBranch }}
- {{ .Values.branchSanitized }}.{{ .Values.ingress.host }}
{{- else }}
- {{ .Values.ingress.host }}
{{- end }}
secretName: app-all-hands-{{ .Values.tls.env }}-tls
{{- end }}
rules:
{{- if .Values.ingress.prefixWithBranch }}
- host: {{ .Values.branchSanitized }}.{{ .Values.ingress.host }}
{{- else }}
- host: {{ .Values.ingress.host }}
{{- end }}
http:
paths:
- path: /integration/github/events
pathType: Exact
backend:
service:
name: openhands-integrations-service
port:
number: 3000
- path: /integration/gitlab/events
pathType: Exact
backend:
service:
name: openhands-integrations-service
port:
number: 3000
- path: /integration/azure-devops/events
pathType: Exact
backend:
service:
name: openhands-integrations-service
port:
number: 3000
- path: /integration/jira/events
pathType: Exact
backend:
service:
name: openhands-integrations-service
port:
number: 3000
- path: /api/billing/stripe-webhook
pathType: Exact
backend:
service:
name: openhands-integrations-service
port:
number: 3000
- path: /slack
pathType: Prefix
backend:
service:
name: openhands-integrations-service
port:
number: 3000
{{- end }}