Add requested validation warning

Signed-off-by: jack1902 <39212456+jack1902@users.noreply.github.com>
This commit is contained in:
jack1902
2022-06-06 17:56:25 +00:00
committed by Bitnami Containers
parent a8508655f8
commit 1a4a50333b
2 changed files with 6 additions and 0 deletions
@@ -80,6 +80,9 @@ keycloak_validate() {
fi
done
# Deprecation warnings
is_empty_value "${KEYCLOAK_FRONTEND_URL:-}" || warn "The usage of 'KEYCLOAK_FRONTEND_URL' is deprecated and will soon be removed. Use 'KC_HOSTNAME' instead."
[[ "$error_code" -eq 0 ]] || exit "$error_code"
}
@@ -80,6 +80,9 @@ keycloak_validate() {
fi
done
# Deprecation warnings
is_empty_value "${KEYCLOAK_FRONTEND_URL:-}" || warn "The usage of 'KEYCLOAK_FRONTEND_URL' is deprecated and will soon be removed. Use 'KC_HOSTNAME' instead."
[[ "$error_code" -eq 0 ]] || exit "$error_code"
}