mirror of
https://github.com/coredns/coredns.git
synced 2025-11-10 05:52:16 -05:00
kubernetes: Add useragent (#6484)
In kubernetes' audit logs you'll see: "userAgent":"coredns/v0.0.0 (linux/amd64) kubernetes/$Format" This change adds a userAgent to the requests made by CoreDNS against the kubernetes API: "userAgent":"CoreDNS/v1.11.1 git_commit:ae2bbc29be1aaae0b3ded5d188968a6c97bb3144 (linux/amd64/go1.22)" Signed-off-by: Manuel Rüger <manuel@rueg.eu>
This commit is contained in:
@@ -3,6 +3,6 @@ package coremain
|
||||
// Various CoreDNS constants.
|
||||
const (
|
||||
CoreVersion = "1.11.3"
|
||||
coreName = "CoreDNS"
|
||||
CoreName = "CoreDNS"
|
||||
serverType = "dns"
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user