Skip to content

Commit

Permalink
switch to go.mod, k8s v1.17.2, go1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
liggitt committed Jan 29, 2020
1 parent 6bf3217 commit 069cc12
Show file tree
Hide file tree
Showing 8 changed files with 967 additions and 4,338 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ run:
go run ./cmd/audit2rbac/audit2rbac.go

install-deps:
glide install -v
go mod vendor
build/update-vendor-notices.sh

update-deps:
glide update -v
go mod vendor
build/update-vendor-notices.sh

clean-deps:
Expand Down Expand Up @@ -45,7 +45,7 @@ fmt:
fi

vet:
go tool vet -atomic -bool -copylocks -nilfunc -printf -shadow -rangeloops -unreachable -unsafeptr -unusedresult ./pkg
go vet -atomic -bool -copylocks -nilfunc -printf -rangeloops -unreachable -unsafeptr -unusedresult ./pkg

# https://github.com/golang/lint
# go get github.com/golang/lint/golint
Expand All @@ -61,7 +61,7 @@ lint:

check_go_version:
@OUTPUT=`go version`; \
if [[ "$$OUTPUT" != *"go1.11."* ]]; then \
if [[ "$$OUTPUT" != *"go1.13."* ]]; then \
echo "Expected: go version go1.11.*"; \
echo "Found: $$OUTPUT"; \
exit 1; \
Expand Down
4,179 changes: 216 additions & 3,963 deletions NOTICE

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@ audit2rbac takes a [Kubernetes audit log](https://kubernetes.io/docs/tasks/debug
## Developer Instructions

Requirements:
* Go 1.11.x
* Glide 0.13.1+
* Go 1.13.x

To build and install from source:
```sh
Expand Down
337 changes: 0 additions & 337 deletions glide.lock

This file was deleted.

0 comments on commit 069cc12

Please sign in to comment.