From 88d75e8b3bf563b3b8b9c396bdef8ca08e308e7b Mon Sep 17 00:00:00 2001 From: chintan8saaras Date: Sat, 26 Feb 2022 19:20:25 +0000 Subject: [PATCH] Move to Envoy 1.21.1 Bump app version --- helm-chart/enroute/Chart.yaml | 4 +- helm-chart/enroute/templates/service.yaml | 1 - helm-chart/enroute/values.yaml | 2 +- helm-chart/httpbin-bin-service.yaml | 64 +++++++++++++++++++ helm-chart/service-policy/Chart.yaml | 4 +- .../templates/service-filters.yaml | 1 + 6 files changed, 70 insertions(+), 6 deletions(-) create mode 100644 helm-chart/httpbin-bin-service.yaml diff --git a/helm-chart/enroute/Chart.yaml b/helm-chart/enroute/Chart.yaml index 4ec083c..bc89905 100644 --- a/helm-chart/enroute/Chart.yaml +++ b/helm-chart/enroute/Chart.yaml @@ -30,10 +30,10 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 0.5.0 +version: 0.6.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. # It is recommended to use it with quotes. -appVersion: v0.8.0 +appVersion: v0.10.0 diff --git a/helm-chart/enroute/templates/service.yaml b/helm-chart/enroute/templates/service.yaml index 8295bf4..f9ce0f5 100644 --- a/helm-chart/enroute/templates/service.yaml +++ b/helm-chart/enroute/templates/service.yaml @@ -48,5 +48,4 @@ spec: targetPort: 8443 selector: {{- include "enroute.selectorLabels" . | nindent 4 }} - externalTrafficPolicy: Local type: LoadBalancer diff --git a/helm-chart/enroute/values.yaml b/helm-chart/enroute/values.yaml index 339cff4..dce8f64 100644 --- a/helm-chart/enroute/values.yaml +++ b/helm-chart/enroute/values.yaml @@ -15,7 +15,7 @@ images: pullPolicy: Always envoy: repository: envoyproxy/envoy - tag: v1.21.0 + tag: v1.21.1 pullPolicy: Always imagePullSecrets: [] diff --git a/helm-chart/httpbin-bin-service.yaml b/helm-chart/httpbin-bin-service.yaml new file mode 100644 index 0000000..1aa5e3c --- /dev/null +++ b/helm-chart/httpbin-bin-service.yaml @@ -0,0 +1,64 @@ +# Copyright Istio Authors +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +################################################################################################## +# httpbin service +################################################################################################## +apiVersion: v1 +kind: ServiceAccount +metadata: + name: httpbin + namespace: httpbin +--- +apiVersion: v1 +kind: Service +metadata: + name: httpbin + namespace: httpbin + namespace: httpbin + labels: + app: httpbin + service: httpbin +spec: + ports: + - name: http + port: 80 + targetPort: 80 + selector: + app: httpbin +--- +apiVersion: apps/v1 +kind: Deployment +metadata: + name: httpbin + namespace: httpbin +spec: + replicas: 1 + selector: + matchLabels: + app: httpbin + version: v1 + template: + metadata: + labels: + app: httpbin + version: v1 + spec: + serviceAccountName: httpbin + containers: + - image: docker.io/kennethreitz/httpbin + imagePullPolicy: IfNotPresent + name: httpbin + ports: + - containerPort: 80 diff --git a/helm-chart/service-policy/Chart.yaml b/helm-chart/service-policy/Chart.yaml index c2f4479..d6d074c 100644 --- a/helm-chart/service-policy/Chart.yaml +++ b/helm-chart/service-policy/Chart.yaml @@ -2,5 +2,5 @@ apiVersion: v2 name: service-policy description: Service L7 Policy using EnRoute API Gateway type: application -version: 0.3.1 -appVersion: 0.8.0 +version: 0.4.0 +appVersion: v0.10.0 diff --git a/helm-chart/service-policy/templates/service-filters.yaml b/helm-chart/service-policy/templates/service-filters.yaml index 7be508e..b3aadd4 100644 --- a/helm-chart/service-policy/templates/service-filters.yaml +++ b/helm-chart/service-policy/templates/service-filters.yaml @@ -38,6 +38,7 @@ spec: function envoy_on_response(response_handle) response_handle:logInfo("Hello World response"); + response_handle:headers():add("Lua-Filter-Says", "Hello") end --- apiVersion: enroute.saaras.io/v1