1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-11-21 23:58:06 +00:00

Update import names and makefile for name change

This commit is contained in:
Liz Rice 2017-06-20 09:38:15 +01:00
parent e03f5c846f
commit f123db14a9
7 changed files with 9 additions and 11 deletions

3
.gitignore vendored
View File

@ -1,3 +1,2 @@
kubernetes-bench-security
cis_kubernetes
kube-bench
*.swp

View File

@ -22,7 +22,7 @@ import (
"regexp"
"strings"
"github.com/aquasecurity/kubernetes-bench-security/check"
"github.com/aquasecurity/kube-bench/check"
"github.com/fatih/color"
"github.com/spf13/viper"
)

View File

@ -15,7 +15,7 @@
package cmd
import (
"github.com/aquasecurity/kubernetes-bench-security/check"
"github.com/aquasecurity/kube-bench/check"
"github.com/spf13/cobra"
)

View File

@ -15,7 +15,7 @@
package cmd
import (
"github.com/aquasecurity/kubernetes-bench-security/check"
"github.com/aquasecurity/kube-bench/check"
"github.com/spf13/cobra"
)

View File

@ -15,7 +15,7 @@
package cmd
import (
"github.com/aquasecurity/kubernetes-bench-security/check"
"github.com/aquasecurity/kube-bench/check"
"github.com/spf13/cobra"
)

View File

@ -14,7 +14,7 @@
package main
import "github.com/aquasecurity/kubernetes-bench-security/cmd"
import "github.com/aquasecurity/kube-bench/cmd"
func main() {
cmd.Execute()

View File

@ -1,8 +1,7 @@
SOURCES := $(shell find . -name '*.go')
TARGET_OS := linux
BINARY := kube-bench
cis_kubernetes: $(SOURCES)
GOOS=$(TARGET_OS) go build -o cis_kubernetes .
$(BINARY): $(SOURCES)
GOOS=$(TARGET_OS) go build -o $(BINARY) .
install: cis_kubernetes
./install.sh