Skip to content

Commit c7cfdd7

Browse files
pengzhoumlPeng Zhou
andauthored
MLE-14181 Upgrade Bug with group config is set (#234)
Co-authored-by: Peng Zhou <[email protected]>
1 parent a592faf commit c7cfdd7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

charts/templates/statefulset.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,8 @@ spec:
315315
# Begin Group Configuration
316316
if [[ $POD_NAME == *-0 ]] && [[ $MARKLOGIC_CLUSTER_TYPE == "bootstrap" ]]; then
317317
[ -f /var/opt/MarkLogic/group_cfg ] && current_group_cfg=$(cat /var/opt/MarkLogic/group_cfg)
318-
if [ "${MARKLOGIC_GROUP}:${XDQP_SSL_ENABLED}:${MARKLOGIC_JOIN_TLS_ENABLED}" = "${current_group_cfg}" ]; then
318+
if [ "${MARKLOGIC_GROUP}:${XDQP_SSL_ENABLED}:${MARKLOGIC_JOIN_TLS_ENABLED}" = "${current_group_cfg}" ] ||
319+
[ "${MARKLOGIC_GROUP}:${XDQP_SSL_ENABLED}" = "${current_group_cfg}" ]; then
319320
log "Info: [poststart] Group config has not changed, poststart hook complete"
320321
exit 0
321322
fi

0 commit comments

Comments
 (0)