Skip to content

Commit

Permalink
Merge pull request #51 from acald-creator/upgrade-istio-envoy
Browse files Browse the repository at this point in the history
Upgrade istio envoy
  • Loading branch information
leecalcote committed Sep 14, 2022
2 parents 693a7fd + 3f82ebd commit d4cc873
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 4 deletions.
2 changes: 1 addition & 1 deletion envoy.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
FROM istio/proxyv2:1.12.0-rc.1
FROM istio/proxyv2:1.13.8
ENTRYPOINT /usr/local/bin/envoy -c /etc/envoy.yaml -l debug --service-cluster proxy
4 changes: 3 additions & 1 deletion upstream/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM golang:1.13.5 as bd
# syntax=docker/dockerfile:1

FROM golang:1.19.1 as bd
WORKDIR /github.com/layer5io/wasm-upstream
ADD . .
RUN GOPROXY=direct GOSUMDB=off go build -a -o /upstream .
Expand Down
3 changes: 3 additions & 0 deletions upstream/go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/layer5io/wasm-filters/upstream

go 1.19
4 changes: 2 additions & 2 deletions upstream/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ package main

import (
"fmt"
"io/ioutil"
"io"
"net/http"
)

var gldata = ""

func store(w http.ResponseWriter, req *http.Request) {
defer req.Body.Close()
data, err := ioutil.ReadAll(req.Body)
data, err := io.ReadAll(req.Body)
if err != nil {
return
}
Expand Down

0 comments on commit d4cc873

Please sign in to comment.