aboutsummaryrefslogtreecommitdiffstats
path: root/docs/sections/resources/yaml/common-gateway.yaml
blob: 3cc1cc55bc7f5c25e45883da5ae126c6b035702e (plain)
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
apiVersion: gateway.networking.k8s.io/v1beta1
kind: Gateway
metadata:
  name: common-gateway
  namespace: istio-ingress
spec:
  gatewayClassName: istio
  listeners:
    - name: http-80
      hostname: "*.{{ onap_baseurl }}"
      port: 80
      protocol: HTTP
      allowedRoutes:
        namespaces:
          from: All
    - name: https-443
      hostname: "*.{{ onap_baseurl }}"
      port: 443
      protocol: HTTPS
      allowedRoutes:
        namespaces:
          from: All
      tls:
        mode: Terminate
        certificateRefs:
          - kind: Secret
            group: ""
            name: ingress-tls-secret
    - name: udp-162
      protocol: UDP
      port: 162
      allowedRoutes:
        kinds:
          - kind: UDPRoute
        namespaces:
          from: All
    - name: tcp-4334
      protocol: TCP
      port: 4334
      allowedRoutes:
        kinds:
          - kind: TCPRoute
        namespaces:
          from: All
    - name: tcp-9000
      allowedRoutes:
        namespaces:
          from: All
      hostname: "kafka-api{{ onap_postaddr }}.{{ onap_baseurl }}"
      port: 9000
      protocol: TLS
      tls:
        certificateRefs:
          - group: ""
            kind: Secret
            name: ingress-tls-secret
        mode: Terminate
    - name: tcp-9001
      allowedRoutes:
        namespaces:
          from: All
      hostname: "kafka-api{{ onap_postaddr }}.{{ onap_baseurl }}"
      port: 9001
      protocol: TLS
      tls:
        certificateRefs:
          - group: ""
            kind: Secret
            name: ingress-tls-secret
        mode: Terminate
    - name: tcp-9002
      allowedRoutes:
        namespaces:
          from: All
      hostname: "kafka-api{{ onap_postaddr }}.{{ onap_baseurl }}"
      port: 9002
      protocol: TLS
      tls:
        certificateRefs:
          - group: ""
            kind: Secret
            name: ingress-tls-secret
        mode: Terminate
    - name: tcp-9010
      allowedRoutes:
        namespaces:
          from: All
      hostname: "kafka-bootstrap-api{{ onap_postaddr }}.{{ onap_baseurl }}"
      port: 9010
      protocol: TLS
      tls:
        certificateRefs:
          - group: ""
            kind: Secret
            name: ingress-tls-secret
        mode: Terminate