File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -148,15 +148,15 @@ spec:
148
148
log "Info: [poststart] This is not a bootstrap host or group specified is Default"
149
149
else
150
150
while [ ! -f /var/opt/MarkLogic/ready ]; do
151
+ log "[poststart] wait for marklogic server to be ready"
151
152
sleep 5s
152
153
done
153
-
154
+ sleep 10s
154
155
GROUP_CFG_TEMPLATE='{"group-name":"%s", "xdqp-ssl-enabled":"%s"}'
155
156
GROUP_CFG=$(printf "$GROUP_CFG_TEMPLATE" "$MARKLOGIC_GROUP" "$XDQP_SSL_ENABLED")
156
-
157
- log "Info: [poststart] Updating Default group on cluster"
158
- curl --anyauth -m 20 -s -X PUT -H "Content-type: application/json" -d "${GROUP_CFG}" http://${MARKLOGIC_BOOTSTRAP_HOST}:8002/manage/v2/groups/Default/properties --user ${MARKLOGIC_ADMIN_USERNAME}:${MARKLOGIC_ADMIN_PASSWORD}
159
- sleep 10s
157
+ log "Info: [poststart] Updating group configuration: ${GROUP_CFG}"
158
+ curl --anyauth -m 20 -X PUT -H "Content-type: application/json" -d "${GROUP_CFG}" http://${MARKLOGIC_BOOTSTRAP_HOST}:8002/manage/v2/groups/Default/properties --user ${MARKLOGIC_ADMIN_USERNAME}:${MARKLOGIC_ADMIN_PASSWORD}
159
+ sleep 2s
160
160
fi
161
161
log "Info: [poststart] Poststart Hook Execution Completed"
162
162
{{- end }}
You can’t perform that action at this time.
0 commit comments