use cluster-name as default label everywhere

This commit is contained in:
Felix Kunde
2020-01-07 12:40:18 +01:00
parent 077f9af4e3
commit fce6f2ceee
6 changed files with 13 additions and 13 deletions
+1 -1
View File
@@ -137,7 +137,7 @@ def read_pods(cluster, namespace, spilo_cluster):
cluster=cluster,
resource_type='pods',
namespace=namespace,
label_selector={'version': spilo_cluster},
label_selector={'cluster-name': spilo_cluster},
)