We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 29cd949 commit 806a2d6Copy full SHA for 806a2d6
charts/templates/statefulset.yaml
@@ -154,11 +154,10 @@ spec:
154
- |
155
MARKLOGIC_ADMIN_USERNAME="$(< /run/secrets/ml-secrets/username)"
156
MARKLOGIC_ADMIN_PASSWORD="$(< /run/secrets/ml-secrets/password)"
157
-
158
- pid=$(pgrep start.marklogic)
159
160
log () {
161
local TIMESTAMP=$(date +"%Y-%m-%d %T.%3N")
+ pid=$(pgrep start.marklogic)
162
# Check to make sure pod doesn't terminate if PID value is empty for any reason
163
# If PID value is empty postStart hook logs are not recorded
164
if [ -n "$pid" ]; then
0 commit comments