# copied from https://github.com/istio/istio/blob/master/common/config/license-lint.yml
unrestricted_licenses:
  - Apache-2.0
  - CC-BY-3.0
  - ISC
  - AFL-2.1
  - AFL-3.0
  - Artistic-1.0
  - Artistic-2.0
  - Apache-1.1
  - BSD-1-Clause
  - BSD-2-Clause
  - BSD-3-Clause
  - 0BSD
  - FTL
  - LPL-1.02
  - MS-PL
  - MIT
  - NCSA
  - OpenSSL
  - PHP-3.0
  - TCP-wrappers
  - W3C
  - Xnet
  - Zlib

reciprocal_licenses:
  - CC0-1.0
  - APSL-2.0
  - CDDL-1.0
  - CDDL-1.1
  - CPL-1.0
  - EPL-1.0
  - IPL-1.0
  - MPL-1.0
  - MPL-1.1
  - MPL-2.0
  - MPL-2.0-no-copyleft-exception
  - Ruby

restricted_licenses:
  - GPL-1.0-only
  - GPL-1.0-or-later
  - GPL-2.0-only
  - GPL-2.0-or-later
  - GPL-3.0-only
  - GPL-3.0-or-later
  - LGPL-2.0-only
  - LGPL-2.0-or-later
  - LGPL-2.1-only
  - LGPL-2.1-or-later
  - LGPL-3.0-only
  - LGPL-3.0-or-later
  - NPL-1.0
  - NPL-1.1
  - OSL-1.0
  - OSL-1.1
  - OSL-2.0
  - OSL-2.1
  - OSL-3.0
  - QPL-1.0
  - Sleepycat

allowlisted_modules:
# Apache-2.0: github.com/google/cadvisor@v0.47.1/LICENSE
- github.com/google/cadvisor
# Apache-2.0: k8s.io/kubernetes@v1.27.2/logo/LICENSE
- k8s.io/kubernetes
# Apache-2.0: github.com/spf13/cobra@v1.8.1/LICENSE
- github.com/spf13/cobra
# BSD: gopkg.in/inf.v0@v0.9.1/LICENSE
- gopkg.in/inf.v0
# BSD: github.com/gogo/protobuf@v1.3.2/LICENSE
- github.com/gogo/protobuf
# MIT: sigs.k8s.io/yaml@v1.3.0/LICENSE
- sigs.k8s.io/yaml
# MIT: https://github.com/go-errors/errors/blob/master/LICENSE.MIT
- github.com/go-errors/errors
# BSD: https://github.com/russross/blackfriday/blob/master/LICENSE.txt
- github.com/russross/blackfriday/v2
# BSD / MPL-2.0: github.com/cyphar/filepath-securejoin@v0.6.0 uses non-standard license names
- github.com/cyphar/filepath-securejoin
# Apache-2.0: Local staging directory, LICENSE maintained in volcano-sh/apis repo
- volcano.sh/apis
