From 8b11709cb166fa943ce79182c48b41438a287b80 Mon Sep 17 00:00:00 2001 From: Arko Dasgupta Date: Fri, 27 Oct 2023 18:28:16 -0700 Subject: [PATCH] [release/v0.6] Pin EnvoyProxy and RateLimit images (#2098) * Pin envoyproxy to v1.28 * Pin ratelimit to latest sha commit Signed-off-by: Arko Dasgupta --- api/v1alpha1/shared_types.go | 4 ++-- .../kubernetes/proxy/testdata/deployments/bootstrap.yaml | 2 +- .../proxy/testdata/deployments/component-level.yaml | 2 +- .../kubernetes/proxy/testdata/deployments/default.yaml | 2 +- .../proxy/testdata/deployments/enable-prometheus.yaml | 2 +- .../proxy/testdata/deployments/with-concurrency.yaml | 2 +- .../kubernetes/ratelimit/testdata/deployments/default.yaml | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/api/v1alpha1/shared_types.go b/api/v1alpha1/shared_types.go index 84938be0585..9071832988f 100644 --- a/api/v1alpha1/shared_types.go +++ b/api/v1alpha1/shared_types.go @@ -18,9 +18,9 @@ const ( // DefaultDeploymentMemoryResourceRequests for deployment memory resource DefaultDeploymentMemoryResourceRequests = "512Mi" // DefaultEnvoyProxyImage is the default image used by envoyproxy - DefaultEnvoyProxyImage = "envoyproxy/envoy-dev:latest" + DefaultEnvoyProxyImage = "envoyproxy/envoy:distroless-v1.28-latest" // DefaultRateLimitImage is the default image used by ratelimit. - DefaultRateLimitImage = "envoyproxy/ratelimit:master" + DefaultRateLimitImage = "envoyproxy/ratelimit:b9796237" // HTTPProtocol is the common-used http protocol. HTTPProtocol = "http" // GRPCProtocol is the common-used grpc protocol. diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/bootstrap.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/bootstrap.yaml index 3edbc78328a..9bc0efa0906 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/bootstrap.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/bootstrap.yaml @@ -50,7 +50,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: envoyproxy/envoy-dev:latest + image: envoyproxy/envoy:distroless-v1.28-latest imagePullPolicy: IfNotPresent name: envoy ports: diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/component-level.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/component-level.yaml index a8532b8dbbb..0375503a855 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/component-level.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/component-level.yaml @@ -51,7 +51,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: envoyproxy/envoy-dev:latest + image: envoyproxy/envoy:distroless-v1.28-latest imagePullPolicy: IfNotPresent name: envoy ports: diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml index 14a29c0b4ec..aa2c2fca303 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/default.yaml @@ -145,7 +145,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: envoyproxy/envoy-dev:latest + image: envoyproxy/envoy:distroless-v1.28-latest imagePullPolicy: IfNotPresent name: envoy ports: diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/enable-prometheus.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/enable-prometheus.yaml index 9f296515f07..ecdae86a4dc 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/enable-prometheus.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/enable-prometheus.yaml @@ -171,7 +171,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: envoyproxy/envoy-dev:latest + image: envoyproxy/envoy:distroless-v1.28-latest imagePullPolicy: IfNotPresent name: envoy ports: diff --git a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-concurrency.yaml b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-concurrency.yaml index 3e7f505702d..400b0eb4f2c 100644 --- a/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-concurrency.yaml +++ b/internal/infrastructure/kubernetes/proxy/testdata/deployments/with-concurrency.yaml @@ -51,7 +51,7 @@ spec: fieldRef: apiVersion: v1 fieldPath: metadata.name - image: envoyproxy/envoy-dev:latest + image: envoyproxy/envoy:distroless-v1.28-latest imagePullPolicy: IfNotPresent name: envoy ports: diff --git a/internal/infrastructure/kubernetes/ratelimit/testdata/deployments/default.yaml b/internal/infrastructure/kubernetes/ratelimit/testdata/deployments/default.yaml index a9451dae13c..bf4528e1ad1 100644 --- a/internal/infrastructure/kubernetes/ratelimit/testdata/deployments/default.yaml +++ b/internal/infrastructure/kubernetes/ratelimit/testdata/deployments/default.yaml @@ -73,7 +73,7 @@ spec: value: "/certs/ca.crt" - name: FORCE_START_WITHOUT_INITIAL_CONFIG value: "true" - image: envoyproxy/ratelimit:master + image: envoyproxy/ratelimit:b9796237 imagePullPolicy: IfNotPresent name: envoy-ratelimit ports: