mirror of
https://github.com/zalando/postgres-operator.git
synced 2026-10-05 23:42:02 +02:00
Capture output for debugging purposes
This commit is contained in:
@@ -423,7 +423,10 @@ class K8s:
|
||||
self.wait_for_operator_pod_start()
|
||||
|
||||
def create_with_kubectl(self, path):
|
||||
subprocess.run(["kubectl", "create", "-f", path])
|
||||
subprocess.run(
|
||||
["kubectl", "create", "-f", path],
|
||||
stdout=subprocess.PIPE,
|
||||
stderr=subprocess.PIPE)
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
Reference in New Issue
Block a user