appgw-ingress.yaml 2.3 KB
Newer Older
Daniel Scholl's avatar
Daniel Scholl committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: osdu-ingress
  namespace: osdu
  annotations:
    kubernetes.io/ingress.class: azure/application-gateway
    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
20
              serviceName: osdu-common
Daniel Scholl's avatar
Daniel Scholl committed
21
22
              servicePort: 80
            path: /*
Daniel Scholl's avatar
Daniel Scholl committed
23
24
25
26
          - backend:
              serviceName: partition
              servicePort: 80
            path: /api/partition/v1/*
Daniel Scholl's avatar
Daniel Scholl committed
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
          - 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/*
59
60
61
62
63
64
65
66
67
68
69
          - 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
70
            path: /api/unit/*
Nicholas Karsky's avatar
Nicholas Karsky committed
71
72
73
          - backend:
              serviceName: file
              servicePort: 80
Daniel Scholl's avatar
Updated    
Daniel Scholl committed
74
            path: /api/file/v2/*
75
76
77
78
          - backend:
              serviceName: ingestion-workflow
              servicePort: 80
            path: /api/workflow/v1/*