postgres-operator/e2e/scripts/get_logs.sh

3 lines
147 B
Bash
Executable File

#!/bin/bash
kubectl logs $(kubectl get pods -l name=postgres-operator --field-selector status.phase=Running -o jsonpath='{.items..metadata.name}')