From 16512fd50a6ece11037247f7af89ef4300333514 Mon Sep 17 00:00:00 2001 From: Gaetan Semet Date: Thu, 22 Mar 2018 13:25:28 +0100 Subject: [PATCH] trailing spaces --- kubespawner/reflector.py | 2 -- kubespawner/spawner.py | 12 ++++++------ 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/kubespawner/reflector.py b/kubespawner/reflector.py index 92f705f2a..389947488 100644 --- a/kubespawner/reflector.py +++ b/kubespawner/reflector.py @@ -185,5 +185,3 @@ def start(self): # If the watch_thread is only thread left alive, exit app self.watch_thread.daemon = True self.watch_thread.start() - - diff --git a/kubespawner/spawner.py b/kubespawner/spawner.py index 7a3e5d24c..7e4011b1f 100644 --- a/kubespawner/spawner.py +++ b/kubespawner/spawner.py @@ -623,7 +623,7 @@ def _hub_connect_port_default(self): List of access modes the user has for the pvc. The access modes are: - + - `ReadWriteOnce` – the volume can be mounted as read-write by a single node - `ReadOnlyMany` – the volume can be mounted read-only by many nodes - `ReadWriteMany` – the volume can be mounted as read-write by many nodes @@ -642,7 +642,7 @@ def _hub_connect_port_default(self): The keys is name of hooks and there are only two hooks, postStart and preStop. The values are handler of hook which executes by Kubernetes management system when hook is called. - Below is an sample copied from + Below is an sample copied from `Kubernetes doc `_ :: lifecycle: @@ -681,7 +681,7 @@ def _hub_connect_port_default(self): add: - NET_ADMIN - + See https://kubernetes.io/docs/concepts/workloads/pods/init-containers/ for more info on what init containers are and why you might want to use them! @@ -747,7 +747,7 @@ def _hub_connect_port_default(self): which follows spec at https://v1-6.docs.kubernetes.io/docs/api-reference/v1.6/#container-v1-core. One usage is setting crontab in a container to clean sensitive data with configuration below:: - + [ { 'name': 'crontab', @@ -755,7 +755,7 @@ def _hub_connect_port_default(self): 'command': ['/usr/local/bin/supercronic', '/etc/crontab'] } ] - + """ ) @@ -820,7 +820,7 @@ def _hub_connect_port_default(self): ) options_form = Unicode() - + profile_list = List( trait = Dict(), default_value = None,