io.continual.flowcontrol.impl.controller.k8s.elements.configPullScript.sh Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of continualFlowControlK8s Show documentation
Show all versions of continualFlowControlK8s Show documentation
Continual's flow control k8s controller.
The newest version!
#!/bin/sh
echo "Pulling job config from ${FC_CONFIG_URL}..."
curl --fail-with-body -v -o ${FC_CONFIG_FILE} "${FC_CONFIG_URL}"
if [ $? -ne 0 ]; then
echo "Error: curl call failed."
exit 1
fi
echo
echo
cat ${FC_CONFIG_FILE}
echo