When using Go 1.12.5, I get the following error. I'm using the customize that is in the Dockerfile too.
2usmhalliday2:goabout-kustomize-plugins halliday$ go build -buildmode plugin -o $OUTDIR/sopsfiles.so sopsfiles/main.go
# command-line-arguments
sopsfiles/main.go:16:30: too many arguments in call to loader.NewLoader
sopsfiles/main.go:16:31: undefined: loader.RestrictionNone
sopsfiles/main.go:23:20: undefined: kv.ParseFileSource
2usmhalliday2:goabout-kustomize-plugins halliday$ go version
go version go1.12.5 darwin/amd64
When using Go 1.12.5, I get the following error. I'm using the customize that is in the Dockerfile too.