Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update third-party licenses list #700

Merged
merged 2 commits into from
Oct 12, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ SETUP_ENVTEST = $(BIN_DIR)/setup-envtest
GINKGO = $(BIN_DIR)/ginkgo
GUM = $(BIN_DIR)/gum
GH = $(BIN_DIR)/gh
GOLICENSES = $(BIN_DIR)/go-licenses
HELM_BASE_OPTS ?= --set aws.region=${AWS_REGION},serviceAccount.name=${SERVICE_ACCOUNT_NAME},serviceAccount.annotations.eks\\.amazonaws\\.com/role-arn=${SERVICE_ACCOUNT_ROLE_ARN}
GINKGO_BASE_OPTS ?= --coverpkg $(shell head -n 1 $(PROJECT_DIR)/go.mod | cut -s -d ' ' -f 2)/pkg/...
KODATA = \
Expand All @@ -15,6 +16,7 @@ KODATA = \
cmd/webhook/kodata/HEAD \
cmd/webhook/kodata/refs
CODECOVERAGE_OUT = $(PROJECT_DIR)/coverprofile.out
THIRD_PARTY_LICENSES = $(PROJECT_DIR)/THIRD_PARTY_LICENSES.md
GITHUB_REPO_FULL_NAME = aws/aws-node-termination-handler
ECR_PUBLIC_REGION = us-east-1
ECR_PUBLIC_REGISTRY ?= public.ecr.aws/aws-ec2
Expand Down Expand Up @@ -72,6 +74,9 @@ $(GUM):
$(GH):
@$(PROJECT_DIR)/scripts/download-gh.sh "$(BIN_DIR)"

$(GOLICENSES):
GOBIN="$(BIN_DIR)" go install github.com/google/go-licenses@v1.4.0

$(SETUP_ENVTEST):
GOBIN="$(BIN_DIR)" go install sigs.k8s.io/controller-runtime/tools/setup-envtest@v0.0.0-20220217150738-f62a0f579d73
PATH="$(BIN_DIR):$(PATH)" $(SCRIPTS_DIR)/download-kubebuilder-assets.sh
Expand Down Expand Up @@ -181,3 +186,11 @@ sync-readme-to-ecr-public: ecr-public-login ## Upload the README.md to ECR publi

.PHONY: version
version: latest-release-tag ## Get the most recent release version.

.PHONY: third-party-licenses
third-party-licenses: $(GOLICENSES) ## Save list of third party licenses.
@$(GOLICENSES) report \
--template "$(PROJECT_DIR)/templates/third-party-licenses.tmpl" \
$(PROJECT_DIR)/cmd/controller \
$(PROJECT_DIR)/cmd/webhook \
$(PROJECT_DIR)/test > $(THIRD_PARTY_LICENSES)
Empty file removed THIRD_PARTY_LICENSES
Empty file.
119 changes: 119 additions & 0 deletions THIRD_PARTY_LICENSES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
# Third-party Licenses

- cloud.google.com/go/compute/metadata v0.98.0 [Apache-2.0](https://github.com/googleapis/google-cloud-go/blob/v0.98.0/LICENSE)
- contrib.go.opencensus.io/exporter/ocagent v0.7.1-0.20200907061046-05415f1de66d [Apache-2.0](https://github.com/census-ecosystem/opencensus-go-exporter-ocagent/blob/05415f1de66d/LICENSE)
- contrib.go.opencensus.io/exporter/prometheus v0.4.0 [Apache-2.0](https://github.com/census-ecosystem/opencensus-go-exporter-prometheus/blob/v0.4.0/LICENSE)
- github.com/Azure/go-autorest/autorest v0.11.18 [Apache-2.0](https://github.com/Azure/go-autorest/blob/autorest/v0.11.18/autorest/LICENSE)
- github.com/Azure/go-autorest/autorest/adal v0.9.13 [Apache-2.0](https://github.com/Azure/go-autorest/blob/autorest/adal/v0.9.13/autorest/adal/LICENSE)
- github.com/Azure/go-autorest/autorest/date v0.3.0 [Apache-2.0](https://github.com/Azure/go-autorest/blob/autorest/date/v0.3.0/autorest/date/LICENSE)
- github.com/Azure/go-autorest/logger v0.2.1 [Apache-2.0](https://github.com/Azure/go-autorest/blob/logger/v0.2.1/logger/LICENSE)
- github.com/Azure/go-autorest/tracing v0.6.0 [Apache-2.0](https://github.com/Azure/go-autorest/blob/tracing/v0.6.0/tracing/LICENSE)
- github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd [MIT](https://github.com/MakeNowJust/heredoc/blob/bb23615498cd/LICENSE)
- github.com/PuerkitoBio/purell v1.1.1 [BSD-3-Clause](https://github.com/PuerkitoBio/purell/blob/v1.1.1/LICENSE)
- github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 [BSD-3-Clause](https://github.com/PuerkitoBio/urlesc/blob/de5bf2ad4578/LICENSE)
- github.com/aws/aws-node-termination-handler Unknown [Apache-2.0](https://github.com/aws/aws-node-termination-handler/blob/HEAD/LICENSE)
- github.com/aws/aws-sdk-go v1.38.55 [Apache-2.0](https://github.com/aws/aws-sdk-go/blob/v1.38.55/LICENSE.txt)
- github.com/aws/aws-sdk-go/internal/sync/singleflight v1.38.55 [BSD-3-Clause](https://github.com/aws/aws-sdk-go/blob/v1.38.55/internal/sync/singleflight/LICENSE)
- github.com/beorn7/perks/quantile v1.0.1 [MIT](https://github.com/beorn7/perks/blob/v1.0.1/LICENSE)
- github.com/blang/semver/v4 v4.0.0 [MIT](https://github.com/blang/semver/blob/v4.0.0/v4/LICENSE)
- github.com/blendle/zapdriver v1.3.1 [ISC](https://github.com/blendle/zapdriver/blob/v1.3.1/LICENSE)
- github.com/census-instrumentation/opencensus-proto/gen-go v0.3.0 [Apache-2.0](https://github.com/census-instrumentation/opencensus-proto/blob/v0.3.0/LICENSE)
- github.com/cespare/xxhash/v2 v2.1.1 [MIT](https://github.com/cespare/xxhash/blob/v2.1.1/LICENSE.txt)
- github.com/davecgh/go-spew/spew v1.1.1 [ISC](https://github.com/davecgh/go-spew/blob/v1.1.1/LICENSE)
- github.com/evanphx/json-patch v4.12.0 [BSD-3-Clause](https://github.com/evanphx/json-patch/blob/v4.12.0/LICENSE)
- github.com/evanphx/json-patch/v5 v5.6.0 [BSD-3-Clause](https://github.com/evanphx/json-patch/blob/v5.6.0/v5/LICENSE)
- github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d [MIT](https://github.com/exponent-io/jsonpath/blob/d6023ce2651d/LICENSE)
- github.com/form3tech-oss/jwt-go v3.2.3 [MIT](https://github.com/form3tech-oss/jwt-go/blob/v3.2.3/LICENSE)
- github.com/fsnotify/fsnotify v1.5.1 [BSD-3-Clause](https://github.com/fsnotify/fsnotify/blob/v1.5.1/LICENSE)
- github.com/go-errors/errors v1.0.1 [MIT](https://github.com/go-errors/errors/blob/v1.0.1/LICENSE.MIT)
- github.com/go-kit/log v0.1.0 [MIT](https://github.com/go-kit/log/blob/v0.1.0/LICENSE)
- github.com/go-logfmt/logfmt v0.5.0 [MIT](https://github.com/go-logfmt/logfmt/blob/v0.5.0/LICENSE)
- github.com/go-logr/logr v0.4.0 [Apache-2.0](https://github.com/go-logr/logr/blob/v0.4.0/LICENSE)
- github.com/go-logr/zapr v0.4.0 [Apache-2.0](https://github.com/go-logr/zapr/blob/v0.4.0/LICENSE)
- github.com/go-openapi/jsonpointer v0.19.5 [Apache-2.0](https://github.com/go-openapi/jsonpointer/blob/v0.19.5/LICENSE)
- github.com/go-openapi/jsonreference v0.19.5 [Apache-2.0](https://github.com/go-openapi/jsonreference/blob/v0.19.5/LICENSE)
- github.com/go-openapi/spec v0.19.5 [Apache-2.0](https://github.com/go-openapi/spec/blob/v0.19.5/LICENSE)
- github.com/go-openapi/swag v0.19.15 [Apache-2.0](https://github.com/go-openapi/swag/blob/v0.19.15/LICENSE)
- github.com/gobuffalo/flect v0.2.4 [MIT](https://github.com/gobuffalo/flect/blob/v0.2.4/LICENSE)
- github.com/gogo/protobuf v1.3.2 [BSD-3-Clause](https://github.com/gogo/protobuf/blob/v1.3.2/LICENSE)
- github.com/golang/groupcache/lru v0.0.0-20210331224755-41bb18bfe9da [Apache-2.0](https://github.com/golang/groupcache/blob/41bb18bfe9da/LICENSE)
- github.com/golang/protobuf v1.5.2 [BSD-3-Clause](https://github.com/golang/protobuf/blob/v1.5.2/LICENSE)
- github.com/google/btree v1.0.1 [Apache-2.0](https://github.com/google/btree/blob/v1.0.1/LICENSE)
- github.com/google/go-cmp/cmp v0.5.6 [BSD-3-Clause](https://github.com/google/go-cmp/blob/v0.5.6/LICENSE)
- github.com/google/gofuzz v1.2.0 [Apache-2.0](https://github.com/google/gofuzz/blob/v1.2.0/LICENSE)
- github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 [Apache-2.0](https://github.com/google/shlex/blob/e7afc7fbc510/COPYING)
- github.com/google/uuid v1.3.0 [BSD-3-Clause](https://github.com/google/uuid/blob/v1.3.0/LICENSE)
- github.com/googleapis/gnostic v0.5.5 [Apache-2.0](https://github.com/googleapis/gnostic/blob/v0.5.5/LICENSE)
- github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7 [MIT](https://github.com/gregjones/httpcache/blob/9cad4c3443a7/LICENSE.txt)
- github.com/grpc-ecosystem/grpc-gateway v1.16.0 [BSD-3-Clause](https://github.com/grpc-ecosystem/grpc-gateway/blob/v1.16.0/LICENSE.txt)
- github.com/hashicorp/golang-lru v0.5.4 [MPL-2.0](https://github.com/hashicorp/golang-lru/blob/v0.5.4/LICENSE)
- github.com/imdario/mergo v0.3.12 [BSD-3-Clause](https://github.com/imdario/mergo/blob/v0.3.12/LICENSE)
- github.com/jmespath/go-jmespath v0.4.0 [Apache-2.0](https://github.com/jmespath/go-jmespath/blob/v0.4.0/LICENSE)
- github.com/josharian/intern v1.0.0 [MIT](https://github.com/josharian/intern/blob/v1.0.0/license.md)
- github.com/json-iterator/go v1.1.12 [MIT](https://github.com/json-iterator/go/blob/v1.1.12/LICENSE)
- github.com/kelseyhightower/envconfig v1.4.0 [MIT](https://github.com/kelseyhightower/envconfig/blob/v1.4.0/LICENSE)
- github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de [BSD-3-Clause](https://github.com/liggitt/tabwriter/blob/89fcab3d43de/LICENSE)
- github.com/mailru/easyjson v0.7.7 [MIT](https://github.com/mailru/easyjson/blob/v0.7.7/LICENSE)
- github.com/matttproud/golang_protobuf_extensions/pbutil v1.0.2-0.20181231171920-c182affec369 [Apache-2.0](https://github.com/matttproud/golang_protobuf_extensions/blob/c182affec369/LICENSE)
- github.com/mitchellh/go-wordwrap v1.0.0 [MIT](https://github.com/mitchellh/go-wordwrap/blob/v1.0.0/LICENSE.md)
- github.com/moby/spdystream v0.2.0 [Apache-2.0](https://github.com/moby/spdystream/blob/v0.2.0/LICENSE)
- github.com/moby/term v0.0.0-20210610120745-9d4ed1856297 [Apache-2.0](https://github.com/moby/term/blob/9d4ed1856297/LICENSE)
- github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd [Apache-2.0](https://github.com/modern-go/concurrent/blob/bacd9c7ef1dd/LICENSE)
- github.com/modern-go/reflect2 v1.0.2 [Apache-2.0](https://github.com/modern-go/reflect2/blob/v1.0.2/LICENSE)
- github.com/monochromegane/go-gitignore v0.0.0-20200626010858-205db1a8cc00 [MIT](https://github.com/monochromegane/go-gitignore/blob/205db1a8cc00/LICENSE)
- github.com/peterbourgon/diskv v2.0.1 [MIT](https://github.com/peterbourgon/diskv/blob/v2.0.1/LICENSE)
- github.com/pkg/errors v0.9.1 [BSD-2-Clause](https://github.com/pkg/errors/blob/v0.9.1/LICENSE)
- github.com/pmezard/go-difflib/difflib v1.0.0 [BSD-3-Clause](https://github.com/pmezard/go-difflib/blob/v1.0.0/LICENSE)
- github.com/prometheus/client_golang/prometheus v1.11.0 [Apache-2.0](https://github.com/prometheus/client_golang/blob/v1.11.0/LICENSE)
- github.com/prometheus/client_model/go v0.2.0 [Apache-2.0](https://github.com/prometheus/client_model/blob/v0.2.0/LICENSE)
- github.com/prometheus/common v0.32.1 [Apache-2.0](https://github.com/prometheus/common/blob/v0.32.1/LICENSE)
- github.com/prometheus/common/internal/bitbucket.org/ww/goautoneg v0.32.1 [BSD-3-Clause](https://github.com/prometheus/common/blob/v0.32.1/internal/bitbucket.org/ww/goautoneg/README.txt)
- github.com/prometheus/procfs v0.6.0 [Apache-2.0](https://github.com/prometheus/procfs/blob/v0.6.0/LICENSE)
- github.com/prometheus/statsd_exporter/pkg/mapper v0.21.0 [Apache-2.0](https://github.com/prometheus/statsd_exporter/blob/v0.21.0/LICENSE)
- github.com/russross/blackfriday v1.5.2 [BSD-2-Clause](https://github.com/russross/blackfriday/blob/v1.5.2/LICENSE.txt)
- github.com/spf13/cobra v1.2.1 [Apache-2.0](https://github.com/spf13/cobra/blob/v1.2.1/LICENSE.txt)
- github.com/spf13/pflag v1.0.5 [BSD-3-Clause](https://github.com/spf13/pflag/blob/v1.0.5/LICENSE)
- github.com/stretchr/testify v1.7.0 [MIT](https://github.com/stretchr/testify/blob/v1.7.0/LICENSE)
- github.com/xlab/treeprint v0.0.0-20181112141820-a009c3971eca [MIT](https://github.com/xlab/treeprint/blob/a009c3971eca/LICENSE)
- go.opencensus.io v0.23.0 [Apache-2.0](https://github.com/census-instrumentation/opencensus-go/blob/v0.23.0/LICENSE)
- go.starlark.net v0.0.0-20200306205701-8dd3e2ee1dd5 [BSD-3-Clause](https://github.com/google/starlark-go/blob/8dd3e2ee1dd5/LICENSE)
- go.uber.org/atomic v1.9.0 [MIT](https://github.com/uber-go/atomic/blob/v1.9.0/LICENSE.txt)
- go.uber.org/automaxprocs v1.4.0 [MIT](https://github.com/uber-go/automaxprocs/blob/v1.4.0/LICENSE)
- go.uber.org/multierr v1.6.0 [MIT](https://github.com/uber-go/multierr/blob/v1.6.0/LICENSE.txt)
- go.uber.org/zap v1.19.1 [MIT](https://github.com/uber-go/zap/blob/v1.19.1/LICENSE.txt)
- golang.org/x/crypto/pkcs12 v0.0.0-20220214200702-86341886e292 [BSD-3-Clause](https://cs.opensource.google/go/x/crypto/+/86341886:LICENSE)
- golang.org/x/net v0.0.0-20220225172249-27dd8689420f [BSD-3-Clause](https://cs.opensource.google/go/x/net/+/27dd8689:LICENSE)
- golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8 [BSD-3-Clause](https://cs.opensource.google/go/x/oauth2/+/d3ed0bb2:LICENSE)
- golang.org/x/sync v0.0.0-20210220032951-036812b2e83c [BSD-3-Clause](https://cs.opensource.google/go/x/sync/+/036812b2:LICENSE)
- golang.org/x/sys v0.0.0-20220227234510-4e6760a101f9 [BSD-3-Clause](https://cs.opensource.google/go/x/sys/+/4e6760a1:LICENSE)
- golang.org/x/term v0.0.0-20210927222741-03fcf44c2211 [BSD-3-Clause](https://cs.opensource.google/go/x/term/+/03fcf44c:LICENSE)
- golang.org/x/text v0.3.7 [BSD-3-Clause](https://cs.opensource.google/go/x/text/+/v0.3.7:LICENSE)
- golang.org/x/time/rate v0.0.0-20210723032227-1f47c861a9ac [BSD-3-Clause](https://cs.opensource.google/go/x/time/+/1f47c861:LICENSE)
- gomodules.xyz/jsonpatch/v2 v2.2.0 [Apache-2.0](https://github.com/gomodules/jsonpatch/blob/v2.2.0/v2/LICENSE)
- google.golang.org/api/support/bundler v0.61.0 [BSD-3-Clause](https://github.com/googleapis/google-api-go-client/blob/v0.61.0/LICENSE)
- google.golang.org/genproto v0.0.0-20220107163113-42d7afdf6368 [Apache-2.0](https://github.com/googleapis/go-genproto/blob/42d7afdf6368/LICENSE)
- google.golang.org/grpc v1.42.0 [Apache-2.0](https://github.com/grpc/grpc-go/blob/v1.42.0/LICENSE)
- google.golang.org/protobuf v1.27.1 [BSD-3-Clause](https://github.com/protocolbuffers/protobuf-go/blob/v1.27.1/LICENSE)
- gopkg.in/inf.v0 v0.9.1 [BSD-3-Clause](https://github.com/go-inf/inf/blob/v0.9.1/LICENSE)
- gopkg.in/yaml.v2 v2.4.0 [Apache-2.0](https://github.com/go-yaml/yaml/blob/v2.4.0/LICENSE)
- gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b [MIT](https://github.com/go-yaml/yaml/blob/496545a6307b/LICENSE)
- k8s.io/api v0.21.4 [Apache-2.0](https://github.com/kubernetes/api/blob/v0.21.4/LICENSE)
- k8s.io/apiextensions-apiserver/pkg/apis/apiextensions v0.21.4 [Apache-2.0](https://github.com/kubernetes/apiextensions-apiserver/blob/v0.21.4/LICENSE)
- k8s.io/apimachinery v0.21.4 [Apache-2.0](https://github.com/kubernetes/apimachinery/blob/v0.21.4/LICENSE)
- k8s.io/cli-runtime/pkg v0.21.4 [Apache-2.0](https://github.com/kubernetes/cli-runtime/blob/v0.21.4/LICENSE)
- k8s.io/client-go v0.21.4 [Apache-2.0](https://github.com/kubernetes/client-go/blob/v0.21.4/LICENSE)
- k8s.io/component-base v0.21.4 [Apache-2.0](https://github.com/kubernetes/component-base/blob/v0.21.4/LICENSE)
- k8s.io/klog v1.0.0 [Apache-2.0](https://github.com/kubernetes/klog/blob/v1.0.0/LICENSE)
- k8s.io/klog/v2 v2.10.0 [Apache-2.0](https://github.com/kubernetes/klog/blob/v2.10.0/LICENSE)
- k8s.io/kube-openapi/pkg/util/proto v0.0.0-20211115234752-e816edb12b65 [Apache-2.0](https://github.com/kubernetes/kube-openapi/blob/e816edb12b65/LICENSE)
- k8s.io/kube-openapi/pkg/validation/spec v0.0.0-20211115234752-e816edb12b65 [Apache-2.0](https://github.com/kubernetes/kube-openapi/blob/e816edb12b65/pkg/validation/spec/LICENSE)
- k8s.io/kubectl/pkg v0.21.4 [Apache-2.0](https://github.com/kubernetes/kubectl/blob/v0.21.4/LICENSE)
- k8s.io/utils v0.0.0-20211116205334-6203023598ed [Apache-2.0](https://github.com/kubernetes/utils/blob/6203023598ed/LICENSE)
- knative.dev/pkg v0.0.0-20211120133512-d016976f2567 [Apache-2.0](https://github.com/knative/pkg/blob/d016976f2567/LICENSE)
- sigs.k8s.io/controller-runtime v0.9.7 [Apache-2.0](https://github.com/kubernetes-sigs/controller-runtime/blob/v0.9.7/LICENSE)
- sigs.k8s.io/kustomize/api v0.10.1 [Apache-2.0](https://github.com/kubernetes-sigs/kustomize/blob/api/v0.10.1/api/LICENSE)
- sigs.k8s.io/kustomize/kyaml v0.13.0 [Apache-2.0](https://github.com/kubernetes-sigs/kustomize/blob/kyaml/v0.13.0/kyaml/LICENSE)
- sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/go-yaml/yaml v0.13.0 [MIT](https://github.com/kubernetes-sigs/kustomize/blob/kyaml/v0.13.0/kyaml/internal/forked/github.com/go-yaml/yaml/LICENSE)
- sigs.k8s.io/kustomize/kyaml/internal/forked/github.com/qri-io/starlib/util v0.13.0 [MIT](https://github.com/kubernetes-sigs/kustomize/blob/kyaml/v0.13.0/kyaml/internal/forked/github.com/qri-io/starlib/util/LICENSE)
- sigs.k8s.io/structured-merge-diff/v4 v4.2.1 [Apache-2.0](https://github.com/kubernetes-sigs/structured-merge-diff/blob/v4.2.1/LICENSE)
- sigs.k8s.io/yaml v1.3.0 [MIT](https://github.com/kubernetes-sigs/yaml/blob/v1.3.0/LICENSE)
5 changes: 5 additions & 0 deletions templates/third-party-licenses.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Third-party Licenses

{{ range . -}}
- {{ .Name }} {{ .Version }} [{{ .LicenseName }}]({{ .LicenseURL }})
{{ end -}}