- Update Go version requirement to 1.24.0
- Bump build version to 1.25.0
- Upgrade golangci-lint action to latest
- Use t.Chdir in tests to address linter issue
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
Add comprehensive test coverage for the coremain package,
focusing on configuration loading, version information, and
output formatting. Test coverage improves from 0% to 59.7%.
Signed-off-by: Ville Vesilehto <ville@vesilehto.fi>
* bump version and draft release notes
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* bump version and draft release notes
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* tweak noteworthies
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* update authors
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
* remove note about new expr features. too esoteric in our use case.
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
---------
Signed-off-by: Chris O'Haver <cohaver@infoblox.com>
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>
While performing security scans there were several
issue raised as G304 (CWE-22): Potential file inclusion via variable.
As some files path are taken from user input, it is possible the
filepath passed by user may have unintended effect if not properly formed.
This fix add Clean to remove the security warning and address some
potential issue.
Signed-off-by: Yong Tang <yong.tang.github@outlook.com>
* Bump version and amend notes to include latest PRs
Signed-off-by: Miek Gieben <miek@miek.nl>
* Update notes/coredns-1.8.4.md
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
* Update notes/coredns-1.8.4.md
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
* Update notes/coredns-1.8.4.md
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
* Update notes/coredns-1.8.4.md
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
* Remove newline and set data anew
Signed-off-by: Miek Gieben <miek@miek.nl>
Co-authored-by: Chris O'Haver <cohaver@infoblox.com>
* For caddy v1 in our org
This RP changes all imports for caddyserver/caddy to coredns/caddy. This
is the v1 code of caddy.
For the coredns/caddy repo the following changes have been made:
* anything not needed by us is deleted
* all `telemetry` stuff is deleted
* all its import paths are also changed to point to coredns/caddy
* the v1 branch has been moved to the master branch
* a v1.1.0 tag has been added to signal the latest release
Signed-off-by: Miek Gieben <miek@miek.nl>
* Fix imports
Signed-off-by: Miek Gieben <miek@miek.nl>
* Group coredns/caddy with out plugins
Signed-off-by: Miek Gieben <miek@miek.nl>
* remove this file
Signed-off-by: Miek Gieben <miek@miek.nl>
* Relax import ordering
github.com/coredns is now also a coredns dep, this makes
github.com/coredns/caddy fit more natural in the list.
Signed-off-by: Miek Gieben <miek@miek.nl>
* Fix final import
Signed-off-by: Miek Gieben <miek@miek.nl>
See #3727 for the details. Copying release notes
verbatim to coredns-1.6.9.md and fix the release script (because
Makefile are stupid). Up version to 1.6.9 here as well.
Signed-off-by: Miek Gieben <miek@miek.nl>