We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4c0731a commit f760fabCopy full SHA for f760fab
build-tools/cncluster
@@ -1349,7 +1349,7 @@ function _check_stateful_sets() {
1349
# Checks if any StatefulSets EXCEPT those with a prometheus image (which are part of the infra stack)
1350
# are currently deployed
1351
# grep exits with return code 1 if it finds no matches so we account for that
1352
- query_result=$(kubectl get StatefulSets -A -o json 2> /dev/null | jq '.items[].spec.template.spec.containers[].image' | { grep -v prometheus || test $? = 1; })
+ query_result=$(kubectl get StatefulSets -A -o json 2> /dev/null | jq '.items[].spec.template.spec.containers[].image' | grep -v postgres | { grep -v prometheus || test $? = 1; })
1353
echo "$query_result"
1354
}
1355
0 commit comments