Skip to content

Commit

Permalink
Merge pull request #120 from dsavineau/skip_stateful_non_managed
Browse files Browse the repository at this point in the history
postgres: Wait for stateful on managed db
  • Loading branch information
dsavineau authored May 7, 2024
2 parents 4fd2045 + 33376b8 commit fdc1d51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions roles/postgres/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@
until: _pg_sts_status['resources'][0]['status']['availableReplicas'] == _pg_sts_status['resources'][0]['status']['replicas']
retries: 20
delay: 10
when: managed_database | bool

- operator_sdk.util.k8s_status:
api_version: "{{ api_version }}"
Expand Down

0 comments on commit fdc1d51

Please sign in to comment.