Logic for the token is wrong
Logic for the token is wrong

The use of token or basic auth was a conditional inside the TLS verify loop.
You can use TLS or skip the verification and use token or basic auth.

Just a tab issue. Put the token conditional outside the kubeInsecure check.

Also handled the case that we actually switch the boolean for skip TLS and forced it to replace true or false.
thomastaylor312/helm,migmartri/helm,technosophos/deployment-manager,technosophos/k8s-helm,qwangrepos/helm,adamreese/deployment-manager,technosophos/deployment-manager,rbwsam/helm,helm/helm,jackgr/helm,sushilkm/helm,eicnix/helm,yan234280533/helm,iamzhout/helm,bacongobbler/helm,kdada/helm,bradj/helm,gaocegege/deployment-manager,flynnduism/helm,gaocegege/deployment-manager,jackgr/helm,technosophos/deployment-manager,jackgr/helm,qwangrepos/helm,adamreese/helm,adamreese/deployment-manager,flynnduism/helm,sushilkm/helm,FengyunPan/helm,eicnix/helm,adamreese/deployment-manager,sparkprime/helm,bacongobbler/helm,jackgr/helm,michelleN/deployment-manager,thomastaylor312/helm,SlickNik/helm,adamreese/deployment-manager,helm/helm,sparkprime/helm,vaikas-google/deployment-manager,FengyunPan/helm,bradj/helm,kdada/helm,jascott1/helm,michelleN/deployment-manager,gaocegege/deployment-manager,michelleN/deployment-manager,jascott1/helm,technosophos/k8s-helm,adamreese/deployment-manager,appscode/helm,jackgr/helm,vaikas-google/deployment-manager,rbwsam/helm,michelleN/deployment-manager,sparkprime/helm,fibonacci1729/helm,sparkprime/helm,appscode/helm,gaocegege/deployment-manager,adamreese/helm,technosophos/deployment-manager,technosophos/deployment-manager,yan234280533/helm,migmartri/helm,sparkprime/helm,SlickNik/helm,fibonacci1729/helm,iamzhout/helm