Skip to content

Commit

Permalink
update metaprotocol proxy to 1.1.0 (#227)
Browse files Browse the repository at this point in the history
#222

Signed-off-by: Xunzhuo <mixdeers@gmail.com>
  • Loading branch information
Xunzhuo authored May 23, 2022
1 parent 777701d commit 0330c7c
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 13 deletions.
23 changes: 23 additions & 0 deletions demo/metaprotocol-brpc/brpc-protocol.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Copyright Aeraki 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.

---
apiVersion: metaprotocol.aeraki.io/v1alpha1
kind: ApplicationProtocol
metadata:
name: brpc
namespace: istio-system
spec:
codec: aeraki.meta_protocol.codec.brpc
protocol: brpc
6 changes: 3 additions & 3 deletions demo/metaprotocol-brpc/brpc-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: smwyzi/proxyv2:brpc-0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: brpc-echo-server
version: v1
Expand Down Expand Up @@ -57,7 +57,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: smwyzi/proxyv2:brpc-0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: brpc-echo-server
version: v2
Expand Down Expand Up @@ -86,7 +86,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: smwyzi/proxyv2:brpc-0.1
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: brpc-echo-client
spec:
Expand Down
6 changes: 3 additions & 3 deletions demo/metaprotocol-dubbo/dubbo-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: dubbo-sample-provider
version: v1
Expand All @@ -55,7 +55,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: dubbo-sample-provider
version: v2
Expand All @@ -82,7 +82,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: dubbo-sample-consumer
spec:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-server
Expand Down
6 changes: 3 additions & 3 deletions demo/metaprotocol-thrift/thrift-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-server
Expand All @@ -55,7 +55,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-server
Expand All @@ -82,7 +82,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
sidecar.istio.io/rewriteAppHTTPProbers: "false"
labels:
app: thrift-sample-client
Expand Down
6 changes: 3 additions & 3 deletions test/e2e/metaprotocol/testdata/metaprotocol-sample.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: dubbo-sample-provider
version: v1
Expand All @@ -41,7 +41,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: dubbo-sample-provider
version: v2
Expand All @@ -68,7 +68,7 @@ spec:
metadata:
annotations:
sidecar.istio.io/bootstrapOverride: aeraki-bootstrap-config
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.0.2
sidecar.istio.io/proxyImage: aeraki/meta-protocol-proxy:1.1.0
labels:
app: dubbo-sample-consumer
spec:
Expand Down

0 comments on commit 0330c7c

Please sign in to comment.