Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Containers: set autodeploy-enabled=true for ENABLE_RELOAD #10100

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ fi
if [ "${ENABLE_RELOAD}" = "1" ]; then
echo "Enabling hot reload of deployments."
echo "set configs.config.server-config.admin-service.das-config.dynamic-reload-enabled=true" >> "${DV_PREBOOT}"
echo "set configs.config.server-config.admin-service.das-config.autodeploy-enabled=true" >> "${DV_PREBOOT}"
fi

# 4. Add the commands to the existing preboot file, but insert BEFORE deployment
Expand All @@ -65,4 +66,4 @@ mv "${TMP_PREBOOT}" "${PREBOOT_COMMANDS}"
echo "DEBUG: preboot contains the following commands:"
echo "--------------------------------------------------"
cat "${PREBOOT_COMMANDS}"
echo "--------------------------------------------------"
echo "--------------------------------------------------"