Skip to content

Commit

Permalink
add istioctl precheck
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhengzheYang committed Jul 12, 2021
1 parent 174be24 commit 0fba18c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions asmcli/commands/validate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ validate_subcommand() {
validate() {
local ONLY_VALIDATE; ONLY_VALIDATE="$(context_get-option "ONLY_VALIDATE")"

istioctl_precheck
validate_dependencies
validate_control_plane

Expand Down Expand Up @@ -89,3 +90,8 @@ validate_control_plane() {
validate_in_cluster_control_plane
fi
}

istioctl_precheck() {
# precheck inspects a Kubernetes cluster for Istio install and upgrade requirements.
istioctl x precheck
}

0 comments on commit 0fba18c

Please sign in to comment.