File tree Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Expand file tree Collapse file tree 2 files changed +22
-8
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,15 @@ validate() {
1515 validate_dependencies
1616 validate_control_plane
1717
18- if [[ " ${ONLY_VALIDATE} " -eq 1 ]] ; then
19- info " Successfully validated all requirements to install ASM in this environment ."
18+ if only_enable ; then
19+ info " Successfully performed specified --enable actions ."
2020 exit 0
2121 fi
2222
23- if only_enable; then
24- info " Successfully performed specified --enable actions."
23+ istioctl_precheck
24+
25+ if [[ " ${ONLY_VALIDATE} " -eq 1 ]]; then
26+ info " Successfully validated all requirements to install ASM in this environment."
2527 exit 0
2628 fi
2729}
@@ -89,3 +91,8 @@ validate_control_plane() {
8991 validate_in_cluster_control_plane
9092 fi
9193}
94+
95+ istioctl_precheck () {
96+ # precheck inspects a Kubernetes cluster for Istio install and upgrade requirements.
97+ istioctl x precheck
98+ }
You can’t perform that action at this time.
0 commit comments