1 Commits

Author SHA1 Message Date
3e0117a71f Update Helm release grafana-operator to v5.21.1
All checks were successful
renovate/stability-days Updates have met minimum release age requirement
lint-test-helm / lint-helm (pull_request) Successful in 24s
2025-12-18 01:12:57 +00:00
2 changed files with 7 additions and 5 deletions

View File

@@ -12,4 +12,4 @@ dependencies:
repository: oci://harbor.alexlebens.net/helm-charts
version: 0.5.0
digest: sha256:485cf44121c365717b671a4c9538d7498bd9279f7cceb856dad5a796f9482afe
generated: "2025-12-18T01:50:22.75888888Z"
generated: "2025-12-18T01:12:48.863683655Z"

View File

@@ -43,11 +43,12 @@ data:
fi
PAYLOAD=$( jq -n \
'{random_port: true}' );
--arg random_port "true" \
'{random_port: $random_port}' );
echo " ";
echo ">> Setting port to random ...";
HTTP_STATUS=$(curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_random.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences");
HTTP_STATUS=$(curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_random.json --data "$PAYLOAD" "${API_ENDPOINT}/app/setPreferences");
if [ "$HTTP_STATUS" == "200" ]; then
echo ">> Random port set"
@@ -62,11 +63,12 @@ data:
sleep 5;
PAYLOAD=$( jq -n \
"{listen_port: ${1}}" );
--arg listen_port "${1}" \
'{listen_port: $listen_port}' );
echo " ";
echo ">> Updating port with ${1} ...";
curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "json=$PAYLOAD" "${API_ENDPOINT}/app/setPreferences";
curl -i -X POST --silent -b cookie -c cookie --write-out '%{http_code}' --output response_body_update.json --data "$PAYLOAD" "${API_ENDPOINT}/app/setPreferences";
if [ "$HTTP_STATUS" == "200" ]; then
echo ">> Port set"