1
0
mirror of https://github.com/aquasecurity/kube-bench.git synced 2024-12-23 23:18:33 +00:00
kube-bench/cmd
Abubakr-Sadik Nii Nai Davis 92df9cb36c Read kubernetes version from environment (#390)
* Read kubernetes version from environment

Set kubernetes version to the value of the environment variable `KUBE_BENCH_VERSION` if it is defined and the flag `--version` is not specified on the kube-bench command line.

The command line flag `--version` takes precedence of the environment variable `KUBE_BENCH_VERSION` if both are defined.

* Add info about KUBE_BENCH_VERSION to README
2019-08-27 09:04:11 +01:00
..
common_test.go Update copyright date 2019-05-02 18:15:31 -07:00
common.go Fix version command failing because of missing config file it does not need. (#377) 2019-08-22 13:43:09 +01:00
database.go Lint all code for golint tests 2018-01-11 10:01:58 -08:00
federated.go Add function to retrieve Kubernetes server version. 2017-09-17 19:49:13 +00:00
master.go Add function to retrieve Kubernetes server version. 2017-09-17 19:49:13 +00:00
node.go Add function to retrieve Kubernetes server version. 2017-09-17 19:49:13 +00:00
root.go Read kubernetes version from environment (#390) 2019-08-27 09:04:11 +01:00
util_test.go Issue #348: Refactor get<Thing>Files into getFiles (#359) 2019-07-13 07:48:24 +01:00
util.go Issue #348: Refactor get<Thing>Files into getFiles (#359) 2019-07-13 07:48:24 +01:00
version.go kube-bench: add version subcommand 2019-06-12 01:41:09 -07:00