Andreas Geissler | e68c766 | 2023-12-06 10:02:43 +0100 | [diff] [blame^] | 1 | apiVersion: gateway.networking.k8s.io/v1beta1 |
| 2 | kind: Gateway |
| 3 | metadata: |
| 4 | name: common-gateway |
| 5 | namespace: istio-ingress |
| 6 | spec: |
| 7 | gatewayClassName: istio |
| 8 | listeners: |
| 9 | - name: http-80 |
| 10 | hostname: "*.{{ onap_baseurl }}" |
| 11 | port: 80 |
| 12 | protocol: HTTP |
| 13 | allowedRoutes: |
| 14 | namespaces: |
| 15 | from: All |
| 16 | - name: https-443 |
| 17 | hostname: "*.{{ onap_baseurl }}" |
| 18 | port: 443 |
| 19 | protocol: HTTPS |
| 20 | allowedRoutes: |
| 21 | namespaces: |
| 22 | from: All |
| 23 | tls: |
| 24 | mode: Terminate |
| 25 | certificateRefs: |
| 26 | - kind: Secret |
| 27 | group: "" |
| 28 | name: ingress-tls-secret |
| 29 | - name: udp-162 |
| 30 | protocol: UDP |
| 31 | port: 162 |
| 32 | allowedRoutes: |
| 33 | kinds: |
| 34 | - kind: UDPRoute |
| 35 | namespaces: |
| 36 | from: All |
| 37 | - name: tcp-4334 |
| 38 | protocol: TCP |
| 39 | port: 4334 |
| 40 | allowedRoutes: |
| 41 | kinds: |
| 42 | - kind: TCPRoute |
| 43 | namespaces: |
| 44 | from: All |
| 45 | - name: tcp-9000 |
| 46 | allowedRoutes: |
| 47 | namespaces: |
| 48 | from: All |
| 49 | hostname: "kafka-api{{ onap_postaddr }}.{{ onap_baseurl }}" |
| 50 | port: 9000 |
| 51 | protocol: TLS |
| 52 | tls: |
| 53 | certificateRefs: |
| 54 | - group: "" |
| 55 | kind: Secret |
| 56 | name: ingress-tls-secret |
| 57 | mode: Terminate |
| 58 | - name: tcp-9001 |
| 59 | allowedRoutes: |
| 60 | namespaces: |
| 61 | from: All |
| 62 | hostname: "kafka-api{{ onap_postaddr }}.{{ onap_baseurl }}" |
| 63 | port: 9001 |
| 64 | protocol: TLS |
| 65 | tls: |
| 66 | certificateRefs: |
| 67 | - group: "" |
| 68 | kind: Secret |
| 69 | name: ingress-tls-secret |
| 70 | mode: Terminate |
| 71 | - name: tcp-9002 |
| 72 | allowedRoutes: |
| 73 | namespaces: |
| 74 | from: All |
| 75 | hostname: "kafka-api{{ onap_postaddr }}.{{ onap_baseurl }}" |
| 76 | port: 9002 |
| 77 | protocol: TLS |
| 78 | tls: |
| 79 | certificateRefs: |
| 80 | - group: "" |
| 81 | kind: Secret |
| 82 | name: ingress-tls-secret |
| 83 | mode: Terminate |
| 84 | - name: tcp-9010 |
| 85 | allowedRoutes: |
| 86 | namespaces: |
| 87 | from: All |
| 88 | hostname: "kafka-bootstrap-api{{ onap_postaddr }}.{{ onap_baseurl }}" |
| 89 | port: 9010 |
| 90 | protocol: TLS |
| 91 | tls: |
| 92 | certificateRefs: |
| 93 | - group: "" |
| 94 | kind: Secret |
| 95 | name: ingress-tls-secret |
| 96 | mode: Terminate |