I ran the git clone for the repo and then executed the script as mentioned in the documentation and I get this error:
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
********************************************************************
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
This script is collecting information related to the NetScaler Ingress
Controller and applications deployed in the cluster. This script by
default masks the IP addresses in the collected output files. The
output files will be available in tar format. If there is any information
that user deems sensitive and not to be shared, kindly scan through the
output_<timestamp> directory under the user provided output directory
path and recreate the tar to share.
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
********************************************************************
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
****************************************
Started collecting kubectl outputs!!!
Collecting kubectl outputs of Pods, Services, Ingress, CRD, Events and NSIC logs
****************************************
Which CNI has been installed in the cluster?
calico
./nsic_diagnostics_tool.sh: 214: Syntax error: "(" unexpected
I ran the git clone for the repo and then executed the script as mentioned in the documentation and I get this error: