Skip to content

Commit

Permalink
Merge pull request #116 from ibm-apiconnect/wmce-9091
Browse files Browse the repository at this point in the history
Skip crunchy data collection for edb deploys
  • Loading branch information
WilliamMcEnery committed Feb 7, 2024
2 parents 2971686 + 3b54d83 commit e795aa8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate_postmortem.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1348,7 +1348,7 @@ for NAMESPACE in $NAMESPACE_LIST; do
fi

#grab postgres data
if [[ $DIAG_MANAGER -eq 1 && "$status" == "Running" && "$pod" == *"postgres"* && ! "$pod" =~ (backrest|pgbouncer|stanza|operator) ]]; then
if [[ $DIAG_MANAGER -eq 1 && $COLLECT_CRUNCHY -eq 1 && "$status" == "Running" && "$pod" == *"postgres"* && ! "$pod" =~ (backrest|pgbouncer|stanza|operator) ]]; then
target_dir="${K8S_NAMESPACES_POD_DIAGNOSTIC_DATA}/postgres/${pod}-pglogs"
health_dir="${K8S_NAMESPACES_POD_DIAGNOSTIC_DATA}/postgres/${pod}-health-stats"

Expand Down

0 comments on commit e795aa8

Please sign in to comment.