Warn when host CA inheritance is disabled

Changes the log level from info to warning when host CA inheritance is skipped by configuration, and includes the number of host certificates detected. This makes intentional skips more visible while still showing useful context.
This commit is contained in:
MickLesk
2026-07-19 10:00:29 +02:00
parent 043f1154e3
commit 09a5860ea3
+1 -1
View File
@@ -4024,7 +4024,7 @@ _apply_host_ca_certs_in_container() {
case "${inherit_host_ca,,}" in
no | false | 0 | off)
msg_info "Skipping host CA inheritance by configuration"
msg_warn "Skipping host CA inheritance by configuration (${#host_certs[@]} host certificate(s) available)"
return 0
;;
esac