appgw-ingress.yaml 2.74 KB
Newer Older
Daniel Scholl's avatar
Daniel Scholl committed
1
2
3
4
5
6
7
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: osdu-ingress
  namespace: osdu
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
Daniel Scholl's avatar
Daniel Scholl committed
8
9
10
    appgw.ingress.kubernetes.io/request-timeout: "300"
    appgw.ingress.kubernetes.io/connection-draining: "true"
    appgw.ingress.kubernetes.io/connection-draining-timeout: "30"
Daniel Scholl's avatar
Daniel Scholl committed
11
12
13
14
15
16
17
18
19
20
21
22
    cert-manager.io/cluster-issuer: letsencrypt
    cert-manager.io/acme-challenge-type: http01
spec:
  tls:
  - hosts:
    - {{ .Values.global.ingress.hostname }}
    secretName: osdu-certificate
  rules:
    - host: {{ .Values.global.ingress.hostname }}
      http:
        paths:
          - backend:
Daniel Scholl's avatar
Updated    
Daniel Scholl committed
23
              serviceName: osdu-common
Daniel Scholl's avatar
Daniel Scholl committed
24
25
              servicePort: 80
            path: /*
Daniel Scholl's avatar
Daniel Scholl committed
26
27
28
29
          - backend:
              serviceName: partition
              servicePort: 80
            path: /api/partition/v1/*
Daniel Scholl's avatar
Daniel Scholl committed
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
          - backend:
              serviceName: entitlements-azure
              servicePort: 80
            path: /entitlements/v1/*
          - backend:
              serviceName: legal
              servicePort: 80
            path: /api/legal/v1/*
          - backend:
              serviceName: storage
              servicePort: 80
            path: /api/storage/v2/*
          - backend:
              serviceName: indexer-service
              servicePort: 80
            path: /api/indexer/v2/*
          - backend:
              serviceName: search-service
              servicePort: 80
            path: /api/search/v2/*
          - backend:
              serviceName: delivery
              servicePort: 80
            path: /api/delivery/v2/*
          - backend:
              serviceName: schema-service
              servicePort: 80
            path: /api/schema-service/v1/*
          - backend:
              serviceName: register
              servicePort: 80
            path: /api/register/v1/*
62
63
64
65
66
67
68
69
70
71
72
          - backend:
              serviceName: crs-catalog-service
              servicePort: 80
            path: /api/crs/catalog/*
          - backend:
              serviceName: crs-conversion-service
              servicePort: 80
            path: /api/crs/converter/*
          - backend:
              serviceName: unit-service
              servicePort: 80
Daniel Scholl's avatar
Updated    
Daniel Scholl committed
73
            path: /api/unit/*
Nicholas Karsky's avatar
Nicholas Karsky committed
74
75
76
          - backend:
              serviceName: file
              servicePort: 80
Daniel Scholl's avatar
Updated    
Daniel Scholl committed
77
            path: /api/file/v2/*
78
79
80
81
          - backend:
              serviceName: ingestion-workflow
              servicePort: 80
            path: /api/workflow/v1/*
Daniel Scholl's avatar
Daniel Scholl committed
82
          - backend:
Vasyl Leskiv [SLB]'s avatar
Vasyl Leskiv [SLB] committed
83
              serviceName: os-wellbore-ddms
Daniel Scholl's avatar
Daniel Scholl committed
84
              servicePort: 80
Vasyl Leskiv [SLB]'s avatar
Vasyl Leskiv [SLB] committed
85
            path: /api/os-wellbore-ddms/*
Komal Makkar's avatar
Komal Makkar committed
86
87
88
89
          - backend:
              serviceName: notification
              servicePort: 80
            path: /api/notification/v1/*