Fix connection pooler deployment selectors (#1213)

Stick with the existing pooler deployment selector labels to make it compatible with existing deployments.

Make the use of additional labels clear and avoid where not needed.

Deployment Selector and Service Selector now do not use extra labels, pod spec does.
This commit is contained in:
Jan Mussler
2020-11-23 17:18:18 +01:00
committed by GitHub
parent 580883bc59
commit c4ae11629b
6 changed files with 92 additions and 20 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ echo 'Statefulsets'
kubectl get statefulsets --all-namespaces
echo
echo 'Deployments'
kubectl get deployments --all-namespaces -l application=db-connection-pooler -l name=postgres-operator
kubectl get deployments --all-namespaces -l application=db-connection-pooler
kubectl get deployments --all-namespaces -l application=postgres-operator
echo
echo
echo 'Step from operator deployment'