Skip to content
This repository has been archived by the owner on Mar 13, 2022. It is now read-only.

Fix trailing slash on kube/config failure #388 #45

Merged
merged 1 commit into from
Nov 12, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/kube_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down