From c6a533d3a6f4b6d15e281e6aca5569516fe73265 Mon Sep 17 00:00:00 2001 From: Tom Proctor Date: Fri, 25 Aug 2023 13:19:49 +0100 Subject: [PATCH] mTLS and logs++ --- plugincontainer/container_runner_test.go | 2 +- plugincontainer/go.mod | 2 +- plugincontainer/go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/plugincontainer/container_runner_test.go b/plugincontainer/container_runner_test.go index e3c7fdb..91adb76 100644 --- a/plugincontainer/container_runner_test.go +++ b/plugincontainer/container_runner_test.go @@ -173,7 +173,7 @@ func TestExamplePlugin(t *testing.T) { IncludeLocation: true, }), SkipHostEnv: true, - // AutoMTLS: true, + AutoMTLS: true, RunnerFunc: func(logger hclog.Logger, cmd *exec.Cmd, tmpDir string) (runner.Runner, error) { cfg := &config.ContainerConfig{ Image: tc.image, diff --git a/plugincontainer/go.mod b/plugincontainer/go.mod index 0eddd2e..13d9984 100644 --- a/plugincontainer/go.mod +++ b/plugincontainer/go.mod @@ -5,7 +5,7 @@ go 1.20 require ( github.com/docker/docker v24.0.5+incompatible github.com/hashicorp/go-hclog v1.5.0 - github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825120311-d8a526c0cfa5 + github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825121839-93ec1744b4f3 google.golang.org/grpc v1.57.0 google.golang.org/protobuf v1.31.0 ) diff --git a/plugincontainer/go.sum b/plugincontainer/go.sum index e2a2779..1564ff3 100644 --- a/plugincontainer/go.sum +++ b/plugincontainer/go.sum @@ -35,6 +35,8 @@ github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825115228-6fadb29a13f0 h1:Dpd1 github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825115228-6fadb29a13f0/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825120311-d8a526c0cfa5 h1:qSB2jobHf2qBkLZhMygyy0cHGmKqhtYRkitgkpQTduw= github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825120311-d8a526c0cfa5/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= +github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825121839-93ec1744b4f3 h1:vY1aQel9gws0mqBVal3xZ0lz233qNl4dYyxl5oCPboA= +github.com/hashicorp/go-plugin v1.4.11-rc1.0.20230825121839-93ec1744b4f3/go.mod h1:w1sAEES3g3PuV/RzUrgow20W2uErMly84hhD3um1WL4= github.com/hashicorp/yamux v0.1.1 h1:yrQxtgseBDrq9Y652vSRDvsKCJKOUD+GzTS4Y0Y8pvE= github.com/hashicorp/yamux v0.1.1/go.mod h1:CtWFDAQgb7dxtzFs4tWbplKIe2jSi3+5vKbgIO0SLnQ= github.com/jhump/protoreflect v1.15.1 h1:HUMERORf3I3ZdX05WaQ6MIpd/NJ434hTp5YiKgfCL6c=