Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples: Fix more deprecations/warnings in configs #13529

Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/fault-injection/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static_resources:
http_filters:
- name: envoy.filters.http.fault
typed_config:
"@type": type.googleapis.com/envoy.config.filter.http.fault.v2.HTTPFault
"@type": type.googleapis.com/envoy.extensions.filters.http.fault.v3.HTTPFault
abort:
http_status: 503
percentage:
Expand Down
2 changes: 1 addition & 1 deletion examples/jaeger-native-tracing/front-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ static_resources:
provider:
name: envoy.tracers.dynamic_ot
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DynamicOtConfig
"@type": type.googleapis.com/envoy.config.trace.v3.DynamicOtConfig
library: /usr/local/lib/libjaegertracing_plugin.so
config:
service_name: front-proxy
Expand Down
2 changes: 1 addition & 1 deletion examples/jaeger-native-tracing/service1-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ static_resources:
provider:
name: envoy.tracers.dynamic_ot
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DynamicOtConfig
"@type": type.googleapis.com/envoy.config.trace.v3.DynamicOtConfig
library: /usr/local/lib/libjaegertracing_plugin.so
config:
service_name: service1
Expand Down
2 changes: 1 addition & 1 deletion examples/jaeger-native-tracing/service2-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ static_resources:
provider:
name: envoy.tracers.dynamic_ot
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.DynamicOtConfig
"@type": type.googleapis.com/envoy.config.trace.v3.DynamicOtConfig
library: /usr/local/lib/libjaegertracing_plugin.so
config:
service_name: service2
Expand Down
4 changes: 2 additions & 2 deletions examples/jaeger-tracing/front-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: jaeger
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
phlax marked this conversation as resolved.
Show resolved Hide resolved
shared_span_context: false
collector_endpoint_version: HTTP_JSON
codec_type: auto
Expand Down
8 changes: 4 additions & 4 deletions examples/jaeger-tracing/service1-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: jaeger
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
shared_span_context: false
collector_endpoint_version: HTTP_JSON
codec_type: auto
Expand Down Expand Up @@ -51,9 +51,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: jaeger
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
shared_span_context: false
collector_endpoint_version: HTTP_JSON
codec_type: auto
Expand Down
4 changes: 2 additions & 2 deletions examples/jaeger-tracing/service2-envoy-jaeger.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: jaeger
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
shared_span_context: false
collector_endpoint_version: HTTP_JSON
codec_type: auto
Expand Down
4 changes: 2 additions & 2 deletions examples/mysql/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ static_resources:
- filters:
- name: envoy.filters.network.mysql_proxy
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.mysql_proxy.v1alpha1.MySQLProxy
"@type": type.googleapis.com/envoy.extensions.filters.network.mysql_proxy.v3.MySQLProxy
stat_prefix: egress_mysql
- name: envoy.filters.network.tcp_proxy
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.tcp_proxy.v2.TcpProxy
"@type": type.googleapis.com/envoy.extensions.filters.network.tcp_proxy.v3.TcpProxy
stat_prefix: mysql_tcp
cluster: mysql_cluster

Expand Down
2 changes: 1 addition & 1 deletion examples/redis/envoy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ static_resources:
- filters:
- name: envoy.filters.network.redis_proxy
typed_config:
"@type": type.googleapis.com/envoy.config.filter.network.redis_proxy.v2.RedisProxy
"@type": type.googleapis.com/envoy.extensions.filters.network.redis_proxy.v3.RedisProxy
stat_prefix: egress_redis
settings:
op_timeout: 5s
Expand Down
4 changes: 2 additions & 2 deletions examples/zipkin-tracing/front-envoy-zipkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: zipkin
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
collector_endpoint_version: HTTP_JSON
codec_type: auto
stat_prefix: ingress_http
Expand Down
8 changes: 4 additions & 4 deletions examples/zipkin-tracing/service1-envoy-zipkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: zipkin
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
collector_endpoint_version: HTTP_JSON
codec_type: auto
stat_prefix: ingress_http
Expand Down Expand Up @@ -50,9 +50,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: zipkin
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
collector_endpoint_version: HTTP_JSON
codec_type: auto
stat_prefix: egress_http
Expand Down
4 changes: 2 additions & 2 deletions examples/zipkin-tracing/service2-envoy-zipkin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ static_resources:
provider:
name: envoy.tracers.zipkin
typed_config:
"@type": type.googleapis.com/envoy.config.trace.v2.ZipkinConfig
"@type": type.googleapis.com/envoy.config.trace.v3.ZipkinConfig
collector_cluster: zipkin
collector_endpoint: "/api/v2/spans"
collector_endpoint: "/api/v3/spans"
collector_endpoint_version: HTTP_JSON
codec_type: auto
stat_prefix: ingress_http
Expand Down