skoussou / servicemesh-playground

RH ServiceMesh setups
17 stars 13 forks source link

implementation of oc_login() function #2

Open cversky-rh opened 1 year ago

cversky-rh commented 1 year ago

implemented oc_login() function to provide some error handling and prevent undesirable run issues, such as login issues. For example, a failed login may cause both meshes be deployed to the currently logged cluster vs. two cluster deployment. Additionally, I've added a condition that addresses a known issue with latest oc clients for Mac, i.e. ingress TLS certificate trust handling - forcing to use --insecure-skip-tls-verify option to login.