added k8s_ prefix to funkrions
This commit is contained in:
parent
b174f0ae13
commit
deb5a86b92
@ -34,7 +34,7 @@ function k(){
|
||||
}
|
||||
[[ $(type -t __start_kubectl) == function ]] && complete -o default -F __start_kubectl k
|
||||
|
||||
function validate_private_ingress(){
|
||||
function k8s_validate_private_ingress(){
|
||||
local PRIVATE_PROJECT_ID="${PRIVATE_PROJECT_ID:-p-c5fcj}"
|
||||
local WHITELIST_SOURCE_RANGE="${WHITELIST_SOURCE_RANGE:-10.0.0.0/8}"
|
||||
local OK='\e[32m\u2714\e[0m'
|
||||
@ -65,7 +65,7 @@ function k8s_list_deprecation_apis(){
|
||||
kubectl get --raw /metrics | prom2json | jq -c '.[] | select(.name=="apiserver_requested_deprecated_apis").metrics[].labels' | column -t -s'{}[],"'
|
||||
}
|
||||
|
||||
function neuvector_cve_db_version(){
|
||||
function k8s_neuvector_cve_db_version(){
|
||||
local NAMESPACE="cattle-neuvector-system"
|
||||
|
||||
printf "%-40s %s\n" "Pod" "CVE DB version"
|
||||
|
Loading…
Reference in New Issue
Block a user