ApiMaster in clusters object will not be the same as the server url in kubeconfig when using kind to setup an application cluster and a management cluster. This is because the server url in kubeconfig allows the user to communicate with the clusters, but the management cluster requires the url stored in the apiMaster of the clusters object. The e2e tests are behaving as a user when sending requests to the cluster, so we're fetching the server url from kubeconfig and replacing the app clusters apiMaster with it.
Adding app cluster to teardownNamespace and purgeTestNamespaces.