From d988892d91855f96f404dcdb94abc0db691d752b Mon Sep 17 00:00:00 2001 From: Saahil Dhulla Date: Mon, 16 Oct 2023 11:21:54 -0700 Subject: [PATCH] remove bad envoyfilter --- .../templates/http-timeout-envoyfilter.yaml | 45 ------------------- 1 file changed, 45 deletions(-) delete mode 100644 deploy/helm/distributed-compute-operator/templates/http-timeout-envoyfilter.yaml diff --git a/deploy/helm/distributed-compute-operator/templates/http-timeout-envoyfilter.yaml b/deploy/helm/distributed-compute-operator/templates/http-timeout-envoyfilter.yaml deleted file mode 100644 index 69dcb3fe..00000000 --- a/deploy/helm/distributed-compute-operator/templates/http-timeout-envoyfilter.yaml +++ /dev/null @@ -1,45 +0,0 @@ -{{- if and (.Values.global.istio.enabled) (.Values.global.istio.httpIdleTimeout.timeout) }} -{{- $commonFullname := include "common.names.fullname" . }} -{{- $justRootConfigNamespace := list .Values.global.istio.rootConfigNamespace }} -{{- $defaultNamespaces := .Values.config.watchNamespaces | default $justRootConfigNamespace }} -{{- $namespaces := .Values.global.istio.httpIdleTimeout.namespaces | default $defaultNamespaces }} -{{- range $namespace := $namespaces }} -apiVersion: networking.istio.io/v1alpha3 -kind: EnvoyFilter -metadata: - name: {{ $commonFullname }}-envoyfilter - namespace: {{ $namespace }} -spec: - workloadSelector: - labels: - app.kubernetes.io/managed-by: distributed-compute-operator - configPatches: - - applyTo: NETWORK_FILTER - match: - listener: - filterChain: - filter: - name: "envoy.filters.network.http_connection_manager" - patch: - operation: MERGE - value: - name: "envoy.filters.network.http_connection_manager" - typed_config: - "@type": "type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager" - common_http_protocol_options: - idle_timeout: {{ $.Values.global.istio.httpIdleTimeout.timeout }} - - applyTo: NETWORK_FILTER - match: - listener: - filterChain: - filter: - name: envoy.filters.network.tcp_proxy - patch: - operation: MERGE - value: - name: envoy.filters.network.tcp_proxy - typed_config: - '@type': type.googleapis.com/envoy.config.filter.network.tcp_proxy.v2.TcpProxy - idle_timeout: {{ $.Values.global.istio.httpIdleTimeout.timeout }} -{{- end }} -{{- end }}