Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mutate HOST
Browse files Browse the repository at this point in the history
Signed-off-by: zirain <zirain2009@gmail.com>
zirain committed Oct 29, 2024
1 parent 6a88c0c commit f10bd72
Showing 17 changed files with 60 additions and 0 deletions.
12 changes: 12 additions & 0 deletions internal/infrastructure/kubernetes/ratelimit/resource.go
Original file line number Diff line number Diff line change
@@ -281,6 +281,18 @@ func expectedRateLimitContainerEnv(rateLimit *egv1a1.RateLimit, rateLimitDeploym
Name: "PROTO",
Value: "tcp6",
},
{
Name: "HOST",
Value: "",
},
{
Name: "DEBUG_HOST",
Value: "",
},
{
Name: "GRPC_HOST",
Value: "",
},
{
Name: RuntimeRootEnvVar,
Value: "/data",
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -38,6 +38,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -44,6 +44,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -44,6 +44,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -43,6 +43,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY
Original file line number Diff line number Diff line change
@@ -42,6 +42,9 @@ spec:
env:
- name: PROTO
value: tcp6
- name: HOST
- name: DEBUG_HOST
- name: GRPC_HOST
- name: RUNTIME_ROOT
value: /data
- name: RUNTIME_SUBDIRECTORY

0 comments on commit f10bd72

Please sign in to comment.