add end of line
This commit is contained in:
@@ -11,10 +11,10 @@ metadata:
|
|||||||
app.kubernetes.io/part-of: {{ .Release.Name }}
|
app.kubernetes.io/part-of: {{ .Release.Name }}
|
||||||
data:
|
data:
|
||||||
update.sh: |
|
update.sh: |
|
||||||
if ! command -v curl 2>&1 >/dev/null
|
if ! command -v curl 2>&1 >/dev/null
|
||||||
then
|
then
|
||||||
echo "curl could not be found, installing"
|
echo "curl could not be found, installing";
|
||||||
apk add curl
|
apk add curl;
|
||||||
fi
|
fi;
|
||||||
echo "updating port with $1"
|
echo "updating port with $1";
|
||||||
curl -i -X POST -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences"
|
curl -i -X POST -d "json={\"listen_port\": \"${1}\"}" "http://localhost:8080/api/v2/app/setPreferences";
|
||||||
|
Reference in New Issue
Block a user