Azure / azure-workload-identity

Azure AD Workload Identity uses Kubernetes primitives to associate managed identities for Azure resources and identities in Azure Active Directory (AAD) with pods.

Home Page:https://azure.github.io/azure-workload-identity

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log Level is not respected

timo-42 opened this issue · comments

Although, the loglevel is set to info, we still see Debug logs:
{"level":"debug","timestamp":"2023-10-16T08:40:00.680558Z","logger":"controller-runtime.webhook.webhooks","caller":"/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/webhook/admission/http.go:96$admission.(*Webhook).ServeHTTP","message":"received request","webhook":"/mutate-v1-pod","UID":"f63f69d4-ccb6-4a33-9268-8d86e506494c","kind":"/v1, Kind=Pod","resource":{"group":"","version":"v1","resource":"pods"}} {"level":"debug","timestamp":"2023-10-16T08:40:00.684229Z","logger":"controller-runtime.webhook.webhooks","caller":"/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.14.6/pkg/webhook/admission/http.go:143$admission.(*Webhook).writeAdmissionResponse","message":"wrote response","webhook":"/mutate-v1-pod","code":200,"reason":"","UID":"f63f69d4-ccb6-4a33-9268-8d86e506494c","allowed":true}

Removing the arg - --log-level={{ .Values.logLevel }} seems to work.