fix: expose remaining settable properties via :report

Adds the missing raw/global/computed report keys for ten settable properties across the ps, builder, scheduler, proxy, openresty, nginx, and scheduler-k3s plugins so external tooling can verify drift through `:report --format json`. The scheduler-k3s `token` is masked as `*******` in default stdout output and only unmasked when the report is requested via `--format json` or when the flag is queried explicitly by name; the same explicit-query unmasking rule is extended to the existing traefik `dns-provider-<env_var>` keys.
This commit is contained in:
Jose Diaz-Gonzalez
2026-05-27 04:26:12 -04:00
parent fd9e06d56b
commit 2b5d2e10ea
28 changed files with 734 additions and 50 deletions

View File

@@ -190,6 +190,23 @@ fn-openresty-computed-letsencrypt-server() {
echo "$value"
}
fn-openresty-global-log-level() {
declare desc="get the raw configured log level"
fn-plugin-property-get-default "openresty" "--global" "log-level" ""
}
fn-openresty-computed-log-level() {
declare desc="get the effective log level, falling back to ERROR"
local value
value="$(fn-openresty-global-log-level)"
if [[ -z "$value" ]]; then
value="ERROR"
fi
echo "$value"
}
fn-openresty-log-root() {
declare desc="get the openresty log root"
local OPENRESTY_LOG_ROOT="/var/log/nginx"