diff --git a/config/kube_config.py b/config/kube_config.py index 4e09d6a9..85a72e63 100644 --- a/config/kube_config.py +++ b/config/kube_config.py @@ -226,7 +226,7 @@ def _load_user_pass_token(self): def _load_cluster_info(self): if 'server' in self._cluster: - self.host = self._cluster['server'] + self.host = self._cluster['server'].rstrip('/') if self.host.startswith("https"): self.ssl_ca_cert = FileOrData( self._cluster, 'certificate-authority',