Skip to content

Commit d4cc873

Browse files
authored
Merge pull request #51 from acald-creator/upgrade-istio-envoy
Upgrade istio envoy
2 parents 693a7fd + 3f82ebd commit d4cc873

File tree

4 files changed

+9
-4
lines changed

4 files changed

+9
-4
lines changed

envoy.Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
FROM istio/proxyv2:1.12.0-rc.1
1+
FROM istio/proxyv2:1.13.8
22
ENTRYPOINT /usr/local/bin/envoy -c /etc/envoy.yaml -l debug --service-cluster proxy

upstream/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
1-
FROM golang:1.13.5 as bd
1+
# syntax=docker/dockerfile:1
2+
3+
FROM golang:1.19.1 as bd
24
WORKDIR /github.com/layer5io/wasm-upstream
35
ADD . .
46
RUN GOPROXY=direct GOSUMDB=off go build -a -o /upstream .

upstream/go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/layer5io/wasm-filters/upstream
2+
3+
go 1.19

upstream/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ package main
22

33
import (
44
"fmt"
5-
"io/ioutil"
5+
"io"
66
"net/http"
77
)
88

99
var gldata = ""
1010

1111
func store(w http.ResponseWriter, req *http.Request) {
1212
defer req.Body.Close()
13-
data, err := ioutil.ReadAll(req.Body)
13+
data, err := io.ReadAll(req.Body)
1414
if err != nil {
1515
return
1616
}

0 commit comments

Comments
 (0)