Do not cache host resolution in DCAEGEN2 nginx
[oom.git] / kubernetes / dcaegen2 / templates / nginx-service.yaml
1 #{{ if not .Values.disableDcae }}
2 apiVersion: v1
3 kind: Service
4 metadata:
5   name: {{ .Chart.Name }}
6   namespace: "{{ .Values.nsPrefix }}-dcaegen2"
7   labels:
8     app: nginx
9 spec:
10   ports:
11     - name: aai-service
12       port: 8443
13       targetPort: 8443
14       nodePort: 30600
15     - name: dmaap
16       port: 3904
17       targetPort: 3904
18       nodePort: 30601
19     - name: sdc-be
20       port: 8443
21       targetPort: 8443
22       nodePort: 30602
23     - name: pdp
24       port: 8081
25       targetPort: 8081
26       nodePort: 30603
27     - name: msbapigw
28       port: 80
29       targetPort: 80
30       nodePort: 30604
31     - name: multicloud-tinanium
32       port: 9005
33       targetPort: 9005
34       nodePort: 30605
35   selector:
36     app: nginx
37   type: LoadBalancer
38   externalTrafficPolicy: Local
39 #{{ end }}