Skip to content

Commit

Permalink
[release/v1.0] Pin EnvoyProxy and RateLimit images (envoyproxy#2783)
Browse files Browse the repository at this point in the history
Signed-off-by: bitliu <bitliu@tencent.com>
  • Loading branch information
Xunzhuo authored Mar 5, 2024
1 parent d8ff060 commit 7d48480
Show file tree
Hide file tree
Showing 35 changed files with 36 additions and 36 deletions.
4 changes: 2 additions & 2 deletions api/v1alpha1/shared_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ const (
// DefaultDeploymentMemoryResourceRequests for deployment memory resource
DefaultDeploymentMemoryResourceRequests = "512Mi"
// DefaultEnvoyProxyImage is the default image used by envoyproxy
DefaultEnvoyProxyImage = "envoyproxy/envoy:distroless-dev"
DefaultEnvoyProxyImage = "envoyproxy/envoy:distroless-v1.29-latest"
// DefaultShutdownManagerCPUResourceRequests for shutdown manager cpu resource
DefaultShutdownManagerCPUResourceRequests = "10m"
// DefaultShutdownManagerMemoryResourceRequests for shutdown manager memory resource
DefaultShutdownManagerMemoryResourceRequests = "32Mi"
// DefaultShutdownManagerImage is the default image used for the shutdown manager.
DefaultShutdownManagerImage = "envoyproxy/gateway-dev:latest"
// DefaultRateLimitImage is the default image used by ratelimit.
DefaultRateLimitImage = "envoyproxy/ratelimit:master"
DefaultRateLimitImage = "envoyproxy/ratelimit:19f2079f"
// HTTPProtocol is the common-used http protocol.
HTTPProtocol = "http"
// GRPCProtocol is the common-used grpc protocol.
Expand Down
2 changes: 1 addition & 1 deletion internal/gatewayapi/testdata/disable-accesslog.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ envoyproxy:
value: env_a_value
- name: env_b
value: env_b_name
image: "envoyproxy/envoy:distroless-dev"
image: "envoyproxy/envoy:distroless-v1.29-latest"
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion internal/gatewayapi/testdata/disable-accesslog.out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ infraIR:
value: env_a_value
- name: env_b
value: env_b_name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ envoyproxy:
value: env_a_value
- name: env_b
value: env_b_name
image: "envoyproxy/envoy:distroless-dev"
image: "envoyproxy/envoy:distroless-v1.29-latest"
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ infraIR:
value: env_a_value
- name: env_b
value: env_b_name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ envoyproxy:
value: env_a_value
- name: env_b
value: env_b_name
image: "envoyproxy/envoy:distroless-dev"
image: "envoyproxy/envoy:distroless-v1.29-latest"
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ infraIR:
value: env_a_value
- name: env_b
value: env_b_name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ envoyproxy:
value: env_a_value
- name: env_b
value: env_b_name
image: "envoyproxy/envoy:distroless-dev"
image: "envoyproxy/envoy:distroless-v1.29-latest"
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ infraIR:
value: env_a_value
- name: env_b
value: env_b_name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion internal/gatewayapi/testdata/envoyproxy-accesslog.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ envoyproxy:
value: env_a_value
- name: env_b
value: env_b_name
image: "envoyproxy/envoy:distroless-dev"
image: "envoyproxy/envoy:distroless-v1.29-latest"
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion internal/gatewayapi/testdata/envoyproxy-accesslog.out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ infraIR:
value: env_a_value
- name: env_b
value: env_b_name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion internal/gatewayapi/testdata/envoyproxy-valid.in.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ envoyproxy:
value: env_a_value
- name: env_b
value: env_b_name
image: "envoyproxy/envoy:distroless-dev"
image: "envoyproxy/envoy:distroless-v1.29-latest"
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion internal/gatewayapi/testdata/envoyproxy-valid.out.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ infraIR:
value: env_a_value
- name: env_b
value: env_b_name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
resources:
requests:
cpu: 100m
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ spec:
fieldRef:
apiVersion: v1
fieldPath: metadata.name
image: envoyproxy/envoy:distroless-dev
image: envoyproxy/envoy:distroless-v1.29-latest
imagePullPolicy: IfNotPresent
lifecycle:
preStop:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
value: /certs/ca.crt
- name: FORCE_START_WITHOUT_INITIAL_CONFIG
value: "true"
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
imagePullPolicy: IfNotPresent
name: envoy-ratelimit
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ spec:
value: /certs/ca.crt
- name: FORCE_START_WITHOUT_INITIAL_CONFIG
value: "true"
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
imagePullPolicy: IfNotPresent
name: envoy-ratelimit
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
value: /certs/ca.crt
- name: FORCE_START_WITHOUT_INITIAL_CONFIG
value: "true"
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
imagePullPolicy: IfNotPresent
name: envoy-ratelimit
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
value: /certs/ca.crt
- name: FORCE_START_WITHOUT_INITIAL_CONFIG
value: "true"
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
imagePullPolicy: IfNotPresent
name: envoy-ratelimit
ports:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ spec:
value: /certs/ca.crt
- name: FORCE_START_WITHOUT_INITIAL_CONFIG
value: "true"
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
imagePullPolicy: IfNotPresent
name: envoy-ratelimit
ports:
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/latest/user/global-rate-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ data:
rateLimitDeployment:
replicas: 1
container:
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
env:
- name: CACHE_KEY_PREFIX
value: "eg:rl:"
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/v0.4.0/user/rate-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,7 @@ data:
rateLimitDeployment:
replicas: 1
container:
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
resources:
requests:
cpu: 100m
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/v0.5.0/user/rate-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,7 @@ data:
rateLimitDeployment:
replicas: 1
container:
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
env:
- name: CACHE_KEY_PREFIX
value: "eg:rl:"
Expand Down
2 changes: 1 addition & 1 deletion site/content/en/v0.6.0/user/rate-limit.md
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,7 @@ data:
rateLimitDeployment:
replicas: 1
container:
image: envoyproxy/ratelimit:master
image: envoyproxy/ratelimit:19f2079f
env:
- name: CACHE_KEY_PREFIX
value: "eg:rl:"
Expand Down

0 comments on commit 7d48480

Please sign in to comment.