Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
#73 we need to authenticate..
Browse files Browse the repository at this point in the history
  • Loading branch information
hjacobs committed Jan 14, 2017
1 parent 4f524fb commit c647f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kube_ops_view/cluster_discovery.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def refresh(self):
for row in response.json()['items']:
# only consider "ready" clusters
if row.get('lifecycle_status', 'ready') == 'ready':
clusters.append(Cluster(row['id'], row['api_server_url']))
clusters.append(Cluster(row['id'], row['api_server_url'], auth=OAuthTokenAuth('read-only')))
self._clusters = clusters
self._last_cache_refresh = time.time()
except:
Expand Down

0 comments on commit c647f15

Please sign in to comment.