Skip to content
Snippets Groups Projects
Verified Commit 6d7a3c42 authored by Maarten de Waard's avatar Maarten de Waard :angel:
Browse files

remove errexit because there are no unchecked exit codes anymore

parent 68c80da0
Branches
Tags
1 merge request!25Resolve "See if we can prevent cronjob from spawning if wordpress pod is not ready"
......@@ -52,7 +52,6 @@ spec:
args:
- -c
- |
set -o errexit
# NOTE: we use "{{` ... `}}" to make sure the curly braces are not templated by Helm. Returns <#readyReplicas>,<#replicasWanted>
equation=$(kubectl get statefulset {{ include "wordpress.fullname" . }} --template '{{ `{{.status.readyReplicas}},{{.status.replicas}}` }}')
# Make sure kubectl command did not fail
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment