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 @@ -109,6 +109,8 @@ spec:
109
109
key : password
110
110
- name : MARKLOGIC_GROUP
111
111
value : {{ .Values.group.name }}
112
+ - name : XDQP_SSL_ENABLED
113
+ value : {{ quote .Values.group.enableXdqpSsl }}
112
114
- name : POD_NAME
113
115
valueFrom :
114
116
fieldRef :
@@ -154,8 +156,8 @@ spec:
154
156
sleep 5s
155
157
done
156
158
157
- GROUP_CFG_TEMPLATE='{"group-name":"%s"}'
158
- GROUP_CFG=$(printf "$GROUP_CFG_TEMPLATE" "$MARKLOGIC_GROUP")
159
+ GROUP_CFG_TEMPLATE='{"group-name":"%s", "xdqp-ssl-enabled":"%s" }'
160
+ GROUP_CFG=$(printf "$GROUP_CFG_TEMPLATE" "$MARKLOGIC_GROUP" "$XDQP_SSL_ENABLED")
159
161
160
162
log "Info: [poststart] Updating Default group on cluster"
161
163
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