appgw-ingress.yaml 4.01 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"
11
12
13
    {{- if .Values.global.ingress.enableKeyvaultCert}}
    appgw.ingress.kubernetes.io/appgw-ssl-certificate: "appgw-ssl-cert"
    {{- else }}
Daniel Scholl's avatar
Daniel Scholl committed
14
15
    cert-manager.io/cluster-issuer: letsencrypt
    cert-manager.io/acme-challenge-type: http01
16
    {{- end }}
Daniel Scholl's avatar
Daniel Scholl committed
17
spec:
18
  {{- if not .Values.global.ingress.enableKeyvaultCert}}
Daniel Scholl's avatar
Daniel Scholl committed
19
20
21
22
  tls:
  - hosts:
    - {{ .Values.global.ingress.hostname }}
    secretName: osdu-certificate
23
  {{- end }}
Daniel Scholl's avatar
Daniel Scholl committed
24
25
26
27
28
  rules:
    - host: {{ .Values.global.ingress.hostname }}
      http:
        paths:
          - backend:
Daniel Scholl's avatar
Updated    
Daniel Scholl committed
29
              serviceName: osdu-common
Daniel Scholl's avatar
Daniel Scholl committed
30
31
              servicePort: 80
            path: /*
Daniel Scholl's avatar
Daniel Scholl committed
32
33
34
35
          - backend:
              serviceName: partition
              servicePort: 80
            path: /api/partition/v1/*
Daniel Scholl's avatar
Daniel Scholl committed
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
          - 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/*
68
69
70
71
72
73
74
75
76
77
78
          - 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
79
            path: /api/unit/*
Nicholas Karsky's avatar
Nicholas Karsky committed
80
81
82
          - backend:
              serviceName: file
              servicePort: 80
Vibhuti Sharma [Microsoft]'s avatar
Vibhuti Sharma [Microsoft] committed
83
            path: /api/file/*
84
85
86
          - backend:
              serviceName: ingestion-workflow
              servicePort: 80
87
            path: /api/workflow/*
Daniel Scholl's avatar
Daniel Scholl committed
88
          - backend:
89
              serviceName: os-wellbore-ddms
Daniel Scholl's avatar
Daniel Scholl committed
90
              servicePort: 80
Vasyl Leskiv (slb)'s avatar
Vasyl Leskiv (slb) committed
91
            path: /api/os-wellbore-ddms/*
Komal Makkar's avatar
Komal Makkar committed
92
93
94
95
          - backend:
              serviceName: notification
              servicePort: 80
            path: /api/notification/v1/*
Sheng Wang's avatar
Sheng Wang committed
96
97
98
99
          - backend:
              serviceName: well-planning
              servicePort: 80
            path: /api/well-planning/*
100
101
102
          - backend:
              serviceName: entitlements
              servicePort: 80
103
            path: /api/entitlements/v2/*
104
105
106
107
          - backend:
              serviceName: seismic-store-service
              servicePort: 80
            path: /seistore-svc/api/v3/*
Sumra Zafar's avatar
Sumra Zafar committed
108
109
110
          - backend:
              serviceName: ingestion-service
              servicePort: 80
Sheng Wang's avatar
Sheng Wang committed
111
112
113
114
115
            path: /api/ingestion/*
          - backend:
              serviceName: well-delivery
              servicePort: 80
            path: /api/well-delivery/*
116
117
118
119
          - backend:
              serviceName: policy-service
              servicePort: 80
            path: /api/policy/*
Vivek Ojha's avatar
Vivek Ojha committed
120
121
122
          - backend:
              serviceName: dataset
              servicePort: 80
Vivek Ojha's avatar
Vivek Ojha committed
123
            path: /api/dataset/v1/*
Vladimir Moiseev's avatar
Vladimir Moiseev committed
124
125
126
127
          - backend:
              serviceName: seismic-dms-file-metadata-service
              servicePort: 80
            path: /seismic-file-metadata/api/v1/*