File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ spec:
105
105
key : password
106
106
- name : MARKLOGIC_GROUP
107
107
value : {{ .Values.group.name }}
108
+ - name : XDQP_SSL_ENABLED
109
+ value : {{ quote .Values.group.enableXdqpSsl }}
108
110
- name : POD_NAME
109
111
valueFrom :
110
112
fieldRef :
@@ -150,8 +152,8 @@ spec:
150
152
sleep 5s
151
153
done
152
154
153
- GROUP_CFG_TEMPLATE='{"group-name":"%s"}'
154
- GROUP_CFG=$(printf "$GROUP_CFG_TEMPLATE" "$MARKLOGIC_GROUP")
155
+ GROUP_CFG_TEMPLATE='{"group-name":"%s", "xdqp-ssl-enabled":"%s" }'
156
+ GROUP_CFG=$(printf "$GROUP_CFG_TEMPLATE" "$MARKLOGIC_GROUP" "$XDQP_SSL_ENABLED")
155
157
156
158
log "Info: [poststart] Updating Default group on cluster"
157
159
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}
You can’t perform that action at this time.
0 commit comments