From b7face983f145ef8fe5b3dc2628b016bc069e815 Mon Sep 17 00:00:00 2001 From: biswajit-9776 Date: Thu, 16 Jan 2025 23:17:15 +0530 Subject: [PATCH] Adding ingress service to istio Signed-off-by: biswajit-9776 --- .../base/istio-ingressgateway-service.yaml | 31 +++++++++++++++++++ .../istio-install/base/kustomization.yaml | 3 +- .../base/istio-ingressgateway-service.yaml | 31 +++++++++++++++++++ .../istio-install/base/kustomization.yaml | 5 +-- 4 files changed, 67 insertions(+), 3 deletions(-) create mode 100644 common/istio-1-24/istio-install/base/istio-ingressgateway-service.yaml create mode 100644 common/istio-cni-1-24/istio-install/base/istio-ingressgateway-service.yaml diff --git a/common/istio-1-24/istio-install/base/istio-ingressgateway-service.yaml b/common/istio-1-24/istio-install/base/istio-ingressgateway-service.yaml new file mode 100644 index 0000000000..fba8f758eb --- /dev/null +++ b/common/istio-1-24/istio-install/base/istio-ingressgateway-service.yaml @@ -0,0 +1,31 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: null + labels: + app: istio-ingressgateway + install.operator.istio.io/owning-resource: unknown + istio: ingressgateway + istio.io/rev: default + operator.istio.io/component: IngressGateways + release: istio + name: istio-ingressgateway + namespace: istio-system +spec: + ports: + - name: status-port + port: 15021 + protocol: TCP + targetPort: 15021 + - name: http2 + port: 80 + protocol: TCP + targetPort: 8080 + - name: https + port: 443 + protocol: TCP + targetPort: 8443 + selector: + app: istio-ingressgateway + istio: ingressgateway + type: LoadBalancer diff --git a/common/istio-1-24/istio-install/base/kustomization.yaml b/common/istio-1-24/istio-install/base/kustomization.yaml index 79dbe6191c..ed75e8e86d 100644 --- a/common/istio-1-24/istio-install/base/kustomization.yaml +++ b/common/istio-1-24/istio-install/base/kustomization.yaml @@ -8,9 +8,10 @@ resources: - gateway_authorizationpolicy.yaml - deny_all_authorizationpolicy.yaml - gateway.yaml +- istio-ingressgateway-service.yaml patches: -# - path: patches/service.yaml +- path: patches/service.yaml - path: patches/istio-configmap-disable-tracing.yaml - path: patches/disable-debugging.yaml # - path: patches/istio-ingressgateway-remove-pdb.yaml diff --git a/common/istio-cni-1-24/istio-install/base/istio-ingressgateway-service.yaml b/common/istio-cni-1-24/istio-install/base/istio-ingressgateway-service.yaml new file mode 100644 index 0000000000..fba8f758eb --- /dev/null +++ b/common/istio-cni-1-24/istio-install/base/istio-ingressgateway-service.yaml @@ -0,0 +1,31 @@ +apiVersion: v1 +kind: Service +metadata: + annotations: null + labels: + app: istio-ingressgateway + install.operator.istio.io/owning-resource: unknown + istio: ingressgateway + istio.io/rev: default + operator.istio.io/component: IngressGateways + release: istio + name: istio-ingressgateway + namespace: istio-system +spec: + ports: + - name: status-port + port: 15021 + protocol: TCP + targetPort: 15021 + - name: http2 + port: 80 + protocol: TCP + targetPort: 8080 + - name: https + port: 443 + protocol: TCP + targetPort: 8443 + selector: + app: istio-ingressgateway + istio: ingressgateway + type: LoadBalancer diff --git a/common/istio-cni-1-24/istio-install/base/kustomization.yaml b/common/istio-cni-1-24/istio-install/base/kustomization.yaml index bb174d2dfa..8e7234f9c4 100644 --- a/common/istio-cni-1-24/istio-install/base/kustomization.yaml +++ b/common/istio-cni-1-24/istio-install/base/kustomization.yaml @@ -6,12 +6,13 @@ resources: - gateway_authorizationpolicy.yaml - deny_all_authorizationpolicy.yaml - gateway.yaml +- istio-ingressgateway-service.yaml patches: - path: patches/service.yaml - path: patches/istio-configmap-disable-tracing.yaml - path: patches/disable-debugging.yaml -- path: patches/istio-ingressgateway-remove-pdb.yaml +# - path: patches/istio-ingressgateway-remove-pdb.yaml - path: patches/istiod-remove-pdb.yaml -- path: patches/seccomp-istio-ingressgateway.yaml +# - path: patches/seccomp-istio-ingressgateway.yaml - path: patches/seccomp-istiod.yaml