Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCPBUGS-13968: Merge 1.11.1 #93

Closed
wants to merge 183 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
039a4d8
Use http constants instead of string (#5908)
Fish-pro Feb 9, 2023
1b001ec
fix typo for log output (#5909)
Fish-pro Feb 10, 2023
1d6ad41
build(deps): bump github.com/aws/aws-sdk-go from 1.44.194 to 1.44.199…
dependabot[bot] Feb 13, 2023
a5e647b
build(deps): bump aquasecurity/trivy-action from 0.9.0 to 0.9.1 (#5919)
dependabot[bot] Feb 13, 2023
4c42a9e
build(deps): bump github/codeql-action from 2.2.1 to 2.2.4 (#5920)
dependabot[bot] Feb 13, 2023
52c49ef
build(deps): bump golang.org/x/sys from 0.4.0 to 0.5.0 (#5923)
dependabot[bot] Feb 13, 2023
8a0d3ba
build(deps): bump google.golang.org/grpc from 1.52.3 to 1.53.0 (#5922)
dependabot[bot] Feb 13, 2023
156da74
Close the body after reading the response body information (#5907)
Fish-pro Feb 15, 2023
52f1c64
plugin/loadbalance: Improve weights update (#5906)
gabordozsa Feb 15, 2023
ad623eb
build: cp Dockerfile in docker-build target (#5925)
lionello Feb 15, 2023
77c7c0b
send notifies after adding zones all zones (#5774)
chrisohaver Feb 15, 2023
fa76615
build(deps): bump github.com/aws/aws-sdk-go from 1.44.199 to 1.44.204…
dependabot[bot] Feb 20, 2023
4891c91
build(deps): bump golang.org/x/net from 0.5.0 to 0.7.0 (#5929)
dependabot[bot] Feb 20, 2023
66df12d
build(deps): bump github.com/prometheus/common from 0.39.0 to 0.40.0 …
dependabot[bot] Feb 20, 2023
83fc3bb
dnstap tls support (#5917)
dmachard Feb 20, 2023
915b74f
build(deps): bump google.golang.org/api from 0.109.0 to 0.110.0 (#5928)
dependabot[bot] Feb 21, 2023
e82d8ed
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.47.0 to 1.48…
dependabot[bot] Feb 27, 2023
763b797
build(deps): bump github.com/miekg/dns from 1.1.50 to 1.1.51 (#5936)
dependabot[bot] Feb 27, 2023
39b8f78
build(deps): bump github/codeql-action from 2.2.4 to 2.2.5 (#5937)
dependabot[bot] Feb 27, 2023
2cf4b3d
build(deps): bump github.com/aws/aws-sdk-go from 1.44.204 to 1.44.209…
dependabot[bot] Feb 27, 2023
03bb228
build(deps): bump golang.org/x/crypto (#5941)
dependabot[bot] Feb 27, 2023
03fb2fa
build(deps): bump github.com/antonmedv/expr from 1.12.0 to 1.12.1 (#5…
dependabot[bot] Feb 27, 2023
80b40c1
DoH: Allow http as the protocol (#5762)
sebdah Mar 3, 2023
69b2958
build(deps): bump golang.org/x/crypto from 0.6.0 to 0.7.0 (#5950)
dependabot[bot] Mar 13, 2023
0c22536
build(deps): bump k8s.io/api from 0.26.1 to 0.26.2 (#5946)
dependabot[bot] Mar 13, 2023
ccfbb8b
build(deps): bump github.com/aws/aws-sdk-go from 1.44.209 to 1.44.214…
dependabot[bot] Mar 13, 2023
7fb2aca
build(deps): bump google.golang.org/api from 0.110.0 to 0.112.0 (#5960)
dependabot[bot] Mar 13, 2023
792b822
build(deps): bump github.com/prometheus/common from 0.40.0 to 0.42.0 …
dependabot[bot] Mar 13, 2023
cc39479
build(deps): bump aquasecurity/trivy-action from 0.9.1 to 0.9.2 (#5962)
dependabot[bot] Mar 13, 2023
033802e
build(deps): bump github/codeql-action from 2.2.5 to 2.2.6 (#5963)
dependabot[bot] Mar 13, 2023
73aa698
build(deps): bump github.com/aws/aws-sdk-go from 1.44.214 to 1.44.219…
dependabot[bot] Mar 13, 2023
5f1e4a2
build(deps): bump k8s.io/client-go from 0.26.1 to 0.26.2 (#5965)
dependabot[bot] Mar 13, 2023
1c09052
build(deps): bump k8s.io/klog/v2 from 2.90.0 to 2.90.1 (#5966)
dependabot[bot] Mar 13, 2023
1258e3b
Fix trivy scan (#5967)
yongtang Mar 13, 2023
d21537f
Run coredns as non root. (#5969)
vinayakankugoyal Mar 20, 2023
86eedbb
build(deps): bump k8s.io/api from 0.26.2 to 0.26.3 (#5975)
dependabot[bot] Mar 20, 2023
7285aa8
build(deps): bump github.com/aws/aws-sdk-go from 1.44.219 to 1.44.224…
dependabot[bot] Mar 20, 2023
a8877a0
build(deps): bump karancode/yamllint-github-action from 2.0.0 to 2.1.…
dependabot[bot] Mar 22, 2023
edccb14
build(deps): bump google.golang.org/api from 0.112.0 to 0.114.0 (#5979)
dependabot[bot] Mar 22, 2023
07e9765
build(deps): bump actions/dependency-review-action from 3.0.3 to 3.0.…
dependabot[bot] Mar 22, 2023
7470616
build(deps): bump actions/setup-go from 3.5.0 to 4.0.0 (#5976)
dependabot[bot] Mar 22, 2023
c2d5658
build(deps): bump github/codeql-action from 2.2.6 to 2.2.7 (#5978)
dependabot[bot] Mar 22, 2023
48c40ae
fix: clouddns plugin answers limited to one response (#5986)
marcosrmendezthd Mar 23, 2023
47dceab
plugin/k8s_extenral: Supports fallthrough option (#5959)
sstoner Mar 24, 2023
f823825
plugin/forward: Allow Proxy to be used outside of forward plugin. (#5…
patdowney Mar 24, 2023
0063d7a
plugin/health: Poll localhost by default (#5934)
wking Mar 29, 2023
8e8231d
[rewrite] Introduce cname target rewrite rule to rewrite plugin (#6004)
Amila-Rukshan Apr 13, 2023
7db1d4f
Prevent fail counter of a proxy overflows (#5990)
sstoner Apr 16, 2023
50439a5
build(deps): bump actions/stale from 7.0.0 to 8.0.0 (#6005)
dependabot[bot] Apr 19, 2023
392d787
build(deps): bump ossf/scorecard-action from 2.1.2 to 2.1.3 (#6006)
dependabot[bot] Apr 19, 2023
4be640b
build(deps): bump github.com/antonmedv/expr from 1.12.1 to 1.12.5 (#6…
dependabot[bot] Apr 19, 2023
b8019b6
build(deps): bump github.com/go-logr/logr from 1.2.3 to 1.2.4 (#6010)
dependabot[bot] Apr 19, 2023
4965c11
build(deps): bump github.com/miekg/dns from 1.1.51 to 1.1.53 (#6011)
dependabot[bot] Apr 19, 2023
2b329b8
build(deps): bump codecov/codecov-action from 3.1.1 to 3.1.2 (#6029)
dependabot[bot] Apr 19, 2023
4489b7f
build(deps): bump github/codeql-action from 2.2.7 to 2.2.12 (#6030)
dependabot[bot] Apr 19, 2023
7be03b6
build(deps): bump github.com/aws/aws-sdk-go from 1.44.224 to 1.44.245…
dependabot[bot] Apr 19, 2023
68816a4
update informer for client-go 0.27 (#6038)
chrisohaver Apr 20, 2023
0862dd1
plugin/kubernetes: expose client-go internal request metrics (#5991)
iyashu Apr 22, 2023
13e6691
plugin/dnssec: on delegation, sign DS or NSEC of no DS. (#5899)
jeremiejig Apr 22, 2023
8cc60a8
build(deps): bump codecov/codecov-action from 3.1.2 to 3.1.3 (#6042)
dependabot[bot] Apr 24, 2023
18180d8
build(deps): bump go.etcd.io/etcd/api/v3 from 3.5.7 to 3.5.8 (#6047)
dependabot[bot] Apr 25, 2023
d58daf7
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.7 to 3.5.8 (#6048)
dependabot[bot] Apr 25, 2023
26a36b8
build(deps): bump aquasecurity/trivy-action from 0.9.2 to 0.10.0 (#6043)
dependabot[bot] Apr 25, 2023
63a22ef
build(deps): bump github/codeql-action from 2.2.12 to 2.3.0 (#6044)
dependabot[bot] Apr 25, 2023
7c31aef
build(deps): bump google.golang.org/grpc from 1.53.0 to 1.54.0 (#6046)
dependabot[bot] Apr 25, 2023
7bced74
Fix typo (#6053)
sa7mon Apr 25, 2023
ee39993
fix some comments (#6052)
cuishuang Apr 25, 2023
9455a4e
build(deps): bump google.golang.org/api from 0.114.0 to 0.119.0 (#6045)
dependabot[bot] Apr 25, 2023
1b95a60
plugin/kubernetes: rename client-go metrics label "url" to "host" (#6…
iyashu Apr 25, 2023
604a902
plugin/forward: Continue waiting after receiving malformed responses …
chrisohaver Apr 29, 2023
3f6dfbd
Fix temp file close error (#6068)
SuperQ May 3, 2023
74ad0df
build(deps): bump github/codeql-action from 2.3.0 to 2.3.2 (#6061)
dependabot[bot] May 3, 2023
7d9856e
build(deps): bump k8s.io/klog/v2 from 2.90.1 to 2.100.1 (#6063)
dependabot[bot] May 3, 2023
74c23f4
build(deps): bump github.com/prometheus/client_golang (#6062)
dependabot[bot] May 4, 2023
efd9bd4
build(deps): bump golang.org/x/crypto from 0.7.0 to 0.8.0 (#6064)
dependabot[bot] May 4, 2023
83e94a9
Bump golang to 1.20.0 (#6070)
bitoku May 4, 2023
47d8ff6
build(deps): bump google.golang.org/api from 0.119.0 to 0.121.0 (#6073)
dependabot[bot] May 4, 2023
c9ac2c9
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.48.0 to 1.50…
dependabot[bot] May 7, 2023
aade56e
build(deps): bump github.com/miekg/dns from 1.1.53 to 1.1.54 (#6082)
dependabot[bot] May 8, 2023
a28a01d
build(deps): bump github.com/prometheus/common from 0.42.0 to 0.43.0 …
dependabot[bot] May 8, 2023
c63bf98
build(deps): bump golang.org/x/sys from 0.7.0 to 0.8.0 (#6084)
dependabot[bot] May 8, 2023
18dde64
build(deps): bump github.com/Azure/go-autorest/autorest (#6083)
dependabot[bot] May 9, 2023
c2d726e
build(deps): bump github/codeql-action from 2.3.2 to 2.3.3 (#6080)
dependabot[bot] May 9, 2023
21fe7ea
Update ADOPTERS.md (#6079)
rotemkfir May 9, 2023
31ff926
fuzz: fix forward plugin target (#6115)
catenacyber May 25, 2023
917489e
add support unix socket for GRPC (#5943)
junhwong May 26, 2023
7821c08
build(deps): bump codecov/codecov-action from 3.1.3 to 3.1.4 (#6104)
dependabot[bot] May 26, 2023
e19068c
build(deps): bump golang.org/x/crypto from 0.8.0 to 0.9.0 (#6095)
dependabot[bot] May 26, 2023
aef4bd2
build(deps): bump actions/setup-go from 4.0.0 to 4.0.1 (#6094)
dependabot[bot] May 26, 2023
87154ac
build(deps): bump go.etcd.io/etcd/client/v3 from 3.5.8 to 3.5.9 (#6096)
dependabot[bot] May 26, 2023
e81b0b4
build(deps): bump google.golang.org/grpc from 1.54.0 to 1.55.0 (#6098)
dependabot[bot] May 26, 2023
7674836
Introduces the ARG in Dockerfile (#5931)
yashsingh74 May 26, 2023
a4c34d0
build(deps): bump github.com/aws/aws-sdk-go from 1.44.245 to 1.44.266…
dependabot[bot] May 26, 2023
7231bb0
plugin/forward: fix descriptions in README.md (#6123)
cattyhouse May 26, 2023
e4be859
refactor: use standard library instead of `isIn` (#6125)
yyzxw May 29, 2023
d34b330
Fix: Correct the spelling of committee within the Governance document…
mcdn7gj May 29, 2023
8b0bff6
build(deps): bump google.golang.org/api from 0.121.0 to 0.124.0 (#6121)
dependabot[bot] May 29, 2023
ac68a9d
build(deps): bump github.com/aws/aws-sdk-go from 1.44.266 to 1.44.271…
dependabot[bot] May 30, 2023
426b5b6
build(deps): bump k8s.io/api from 0.27.1 to 0.27.2 (#6132)
dependabot[bot] May 31, 2023
b38a445
build(deps): bump github.com/prometheus/common from 0.43.0 to 0.44.0 …
dependabot[bot] May 31, 2023
3b9b400
build(deps): bump github/codeql-action from 2.3.3 to 2.3.5 (#6127)
dependabot[bot] May 31, 2023
d00c860
build(deps): bump k8s.io/client-go from 0.27.1 to 0.27.2 (#6129)
dependabot[bot] May 31, 2023
cf87aa9
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.50.1 to 1.51…
dependabot[bot] May 31, 2023
d0375bc
plugin/tls: respect the path specified by root plugin (#5944)
mariuskimmina Jun 1, 2023
d3965b8
Revert "plugin/tls: respect the path specified by root plugin (#5944)…
chrisohaver Jun 1, 2023
c74c212
prevent panics when using DoHWriter (#6120)
Jun 2, 2023
2ca8c7b
build(deps): bump github.com/aws/aws-sdk-go from 1.44.271 to 1.44.275…
dependabot[bot] Jun 5, 2023
4a67aa1
build(deps): bump golangci/golangci-lint-action from 3.4.0 to 3.5.0 (…
dependabot[bot] Jun 6, 2023
7bf37c1
build(deps): bump google.golang.org/api from 0.124.0 to 0.125.0 (#6145)
dependabot[bot] Jun 6, 2023
6d3db02
plugin/kubernetes: fix headless/endpoint query panics when endpoints …
chrisohaver Jun 7, 2023
8c489bd
replace reviewdog fully by golangci-lint (#6139)
Jun 9, 2023
e0c1aa9
build(deps): bump actions/dependency-review-action from 3.0.4 to 3.0.…
dependabot[bot] Jun 10, 2023
4f0b367
build(deps): bump github/codeql-action from 2.3.5 to 2.3.6 (#6142)
dependabot[bot] Jun 10, 2023
f20d162
build(deps): bump github.com/aws/aws-sdk-go from 1.44.275 to 1.44.280…
dependabot[bot] Jun 12, 2023
50ce182
build(deps): bump google.golang.org/api from 0.125.0 to 0.126.0 (#6157)
dependabot[bot] Jun 12, 2023
0d88f8f
build(deps): bump github/codeql-action from 2.3.6 to 2.13.4 (#6156)
dependabot[bot] Jun 12, 2023
781956b
build(deps): bump aquasecurity/trivy-action from 0.10.0 to 0.11.2 (#6…
dependabot[bot] Jun 12, 2023
6e6fc65
build(deps): bump golangci/golangci-lint-action from 3.5.0 to 3.6.0 (…
dependabot[bot] Jun 12, 2023
06cd843
plugin/kubernetes: Remove Endpoint and EndpointSlice v1beta Support (…
chrisohaver Jun 12, 2023
b868350
test: use `t.TempDir` to create temporary test directory (#6164)
Juneezee Jun 17, 2023
7e6d3bb
Update workflow versioning (#6165)
SuperQ Jun 18, 2023
5b5a6ac
plugin/kubernetes: filter ExternalName services from matching double …
emaildanwilson Jun 19, 2023
6e1263d
fix ports panic (#6179)
rokkiter Jun 26, 2023
ea293da
Fix forward metrics for backwards compatibility (#6178)
patdowney Jul 4, 2023
3ef26bc
build(deps): bump golang.org/x/crypto from 0.9.0 to 0.10.0 (#6173)
dependabot[bot] Jul 4, 2023
4b7cea3
build(deps): bump github.com/aws/aws-sdk-go from 1.44.280 to 1.44.294…
dependabot[bot] Jul 4, 2023
1587eab
build(deps): bump k8s.io/api from 0.27.2 to 0.27.3 (#6170)
dependabot[bot] Jul 4, 2023
a703fbe
build(deps): bump google.golang.org/api from 0.126.0 to 0.129.0 (#6190)
dependabot[bot] Jul 4, 2023
8224303
install faillint properly (#6194)
Jul 5, 2023
f8dc407
build(deps): bump ossf/scorecard-action from 2.1.3 to 2.2.0 (#6180)
dependabot[bot] Jul 5, 2023
e550ebd
build(deps): bump github.com/oschwald/geoip2-golang from 1.8.0 to 1.9…
dependabot[bot] Jul 5, 2023
cd3efc8
build(deps): bump k8s.io/client-go from 0.27.2 to 0.27.3 (#6200)
dependabot[bot] Jul 10, 2023
ae3c8f5
build(deps): bump golang.org/x/crypto from 0.10.0 to 0.11.0 (#6196)
dependabot[bot] Jul 10, 2023
6fd025f
build(deps): bump github.com/miekg/dns from 1.1.54 to 1.1.55 (#6198)
dependabot[bot] Jul 10, 2023
a338c25
build(deps): bump google.golang.org/api from 0.129.0 to 0.130.0 (#6199)
dependabot[bot] Jul 10, 2023
7569d13
Add support for RISC-V (#6195)
chazapis Jul 10, 2023
52f0348
Change default value to 1232 (#6183)
pemensik Jul 10, 2023
6e9c0cd
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.51.0 to 1.52…
dependabot[bot] Jul 10, 2023
20408b6
Add GitHub release (#6201)
yongtang Jul 11, 2023
c1b479f
1.11.0 release prep (#6135)
chrisohaver Jul 12, 2023
6552b97
build(deps): bump google.golang.org/api from 0.130.0 to 0.131.0 (#6207)
dependabot[bot] Jul 17, 2023
217884d
build(deps): bump github.com/antonmedv/expr from 1.12.5 to 1.12.6 (#6…
dependabot[bot] Jul 17, 2023
7feef34
build(deps): bump github.com/prometheus/client_golang (#6205)
dependabot[bot] Jul 17, 2023
26eee82
build(deps): bump github.com/aws/aws-sdk-go from 1.44.294 to 1.44.300…
dependabot[bot] Jul 18, 2023
55a2fbe
build(deps): bump github.com/antonmedv/expr from 1.12.6 to 1.12.7 (#6…
dependabot[bot] Jul 24, 2023
ecf0255
build(deps): bump k8s.io/api from 0.27.3 to 0.27.4 (#6222)
dependabot[bot] Jul 24, 2023
b6425e3
build(deps): bump google.golang.org/api from 0.131.0 to 0.132.0 (#6220)
dependabot[bot] Jul 24, 2023
b95bc0a
build(deps): bump k8s.io/client-go from 0.27.3 to 0.27.4 (#6221)
dependabot[bot] Jul 24, 2023
a0e734e
implement Name function on secondary plugin (#6230)
diogenxs Jul 30, 2023
c778fee
build(deps): bump github.com/aws/aws-sdk-go from 1.44.300 to 1.44.312…
dependabot[bot] Jul 31, 2023
1f4fff7
build(deps): bump google.golang.org/api from 0.132.0 to 0.134.0 (#6233)
dependabot[bot] Jul 31, 2023
e2662bb
update outdated blog links (#6231)
chenyuheng Jul 31, 2023
b7c9d3e
build(deps): bump google.golang.org/grpc from 1.56.2 to 1.57.0 (#6234)
dependabot[bot] Jul 31, 2023
cc7a364
[RFC-9250]: Add QUIC server support (#6182)
jaehnri Jul 31, 2023
a2bc5ac
build(deps): bump golang.org/x/crypto from 0.11.0 to 0.12.0 (#6242)
dependabot[bot] Aug 7, 2023
8830cb6
build(deps): bump github.com/aws/aws-sdk-go from 1.44.312 to 1.44.317…
dependabot[bot] Aug 7, 2023
9680cbe
build(deps): bump github.com/quic-go/quic-go from 0.35.1 to 0.37.3 (#…
dependabot[bot] Aug 7, 2023
0e3b775
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.52.0 to 1.53…
dependabot[bot] Aug 7, 2023
9f4aa9d
Update release note of 1.11.0 and prepare the release (#6223)
yongtang Aug 7, 2023
932049c
Fix docker release as mips64le is not avail (#6246)
yongtang Aug 9, 2023
6c85814
fix keepttl parsing (#6250)
chrisohaver Aug 9, 2023
9313984
bump quic package to get go 1.21 fix (#6252)
chrisohaver Aug 9, 2023
c657af4
grep out the timestamp line (#6251)
chrisohaver Aug 10, 2023
2fe5890
Fix typos (#6235)
hezhizhen Aug 10, 2023
141c760
Updated go versions used in workflows to 1.21 (#6260)
Neo2308 Aug 12, 2023
5de473d
fix: remove unnecessary conversion (#6258)
hezhizhen Aug 14, 2023
33fffbc
build(deps): bump github.com/openzipkin/zipkin-go from 0.4.1 to 0.4.2…
dependabot[bot] Aug 14, 2023
07f0955
build(deps): bump google.golang.org/api from 0.134.0 to 0.136.0 (#6264)
dependabot[bot] Aug 14, 2023
fa069dc
build(deps): bump github.com/antonmedv/expr from 1.12.7 to 1.13.0 (#6…
dependabot[bot] Aug 14, 2023
4d153bf
build(deps): bump gopkg.in/DataDog/dd-trace-go.v1 from 1.53.0 to 1.54…
dependabot[bot] Aug 14, 2023
fd5dbb7
build(deps): bump github.com/aws/aws-sdk-go from 1.44.317 to 1.44.322…
dependabot[bot] Aug 14, 2023
eec26e5
build(deps): bump actions/dependency-review-action from 3.0.6 to 3.0.…
dependabot[bot] Aug 14, 2023
90d5561
Plugin dnstap: add support for "extra" field in payload (#6226)
chenyuheng Aug 14, 2023
678d033
Revert "plugin/forward: Continue waiting after receiving malformed re…
chrisohaver Aug 15, 2023
ae2bbc2
1.11.1 release: bump version + add notes (#6273)
chrisohaver Aug 15, 2023
a631050
merge coredns/coredns v1.11.1
gcs278 Aug 16, 2023
c6cbe9f
UPSTREAM: <carry>: openshift: Add OWNERS
Miciah Jan 22, 2022
f5d39cf
UPSTREAM: <carry>: openshift: Add product build config
openshift-ci-robot Jun 14, 2021
78b2bdb
UPSTREAM: <carry>: openshift: Add a `make test` target
bbrowning Feb 6, 2019
4c6110d
UPSTREAM: <carry>: openshift: Make coredns exclusion more specific
bcrochet Jan 22, 2020
a5843d8
UPSTREAM: <carry>: openshift: .gitignore: Properly ignore coredns binary
sgreene570 Oct 9, 2020
6a6aca3
UPSTREAM: <carry>: openshift: Vendor required modules
Miciah Jan 24, 2022
5378301
UPSTREAM: <carry>: openshift: Disable dependabot
rfredette Jun 28, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ initWorkingDir: &initWorkingDir
GOROOT=$(go env GOROOT)
sudo rm -r $(go env GOROOT)
sudo mkdir $GOROOT
LATEST=$(curl -s https://go.dev/VERSION?m=text)
LATEST=$(curl -s https://go.dev/VERSION?m=text | grep -v time)
curl https://dl.google.com/go/${LATEST}.linux-amd64.tar.gz | sudo tar xz -C $GOROOT --strip-components=1

integrationDefaults: &integrationDefaults
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@v3

- name: Initialize CodeQL
uses: github/codeql-action/init@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
uses: github/codeql-action/autobuild@v2

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
uses: github/codeql-action/analyze@v2
4 changes: 2 additions & 2 deletions .github/workflows/depsreview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout Repository'
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@v3
- name: 'Dependency Review'
uses: actions/dependency-review-action@c090f4e553673e6e505ea70d6a95362ee12adb94
uses: actions/dependency-review-action@7d90b4f05fea31dde1c4a1fb3fa787e197ea93ab
2 changes: 1 addition & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
DOCKER_PASSWORD: ${{ secrets.DOCKERHUB_PASSWORD }}
RELEASE: ${{ github.event.inputs.release || github.event.release.tag_name }}
steps:
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
- uses: actions/checkout@v3
- name: Build Docker Images
run: make VERSION=${RELEASE:1} DOCKER=coredns -f Makefile.docker release
- name: Show Docker Images
Expand Down
13 changes: 7 additions & 6 deletions .github/workflows/go.coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ jobs:
name: Coverage
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
uses: actions/setup-go@v4
with:
go-version: '1.19.0'
go-version: '~1.21.0'
id: go

- name: Check out code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...

- name: Test With Coverage
run: |
go install github.com/fatih/faillint@latest
for d in request core coremain plugin test; do \
( cd $d; go test -coverprofile=cover.out -covermode=atomic -race ./...; [ -f cover.out ] && cat cover.out >> ../coverage.txt ); \
done

- name: Upload coverage to Codecov
uses: codecov/codecov-action@d9f34f8cd5cb3b3eb79b3e4b5dae3a16df499a70
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
38 changes: 19 additions & 19 deletions .github/workflows/go.test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ jobs:
name: Test
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
uses: actions/setup-go@v4
with:
go-version: '1.19.0'
go-version: '~1.21.0'
id: go

- name: Check out code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...

Expand All @@ -30,15 +30,15 @@ jobs:
name: Test Plugins
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
uses: actions/setup-go@v4
with:
go-version: '1.19.0'
go-version: '~1.21.0'
id: go

- name: Check out code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...

Expand All @@ -49,33 +49,33 @@ jobs:
name: Test e2e
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
uses: actions/setup-go@v4
with:
go-version: '1.19.0'
go-version: '~1.21.0'
id: go

- name: Check out code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Build
run: go build -v ./...

- name: Test
run: |
go install github.com/fatih/faillint || true
go install github.com/fatih/faillint@latest
( cd test; go test -race ./... )

test-makefile-release:
name: Test Makefile.release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3

- name: Install dependencies
run: sudo apt-get install make curl

- name: Check out code
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8

- name: Test Makefile.release
run: make GITHUB_ACCESS_TOKEN=x -n release github-push -f Makefile.release

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
with:
go-version: '1.19.0'
- uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
go-version: '~1.21.0'
- name: golangci-lint
uses: golangci/golangci-lint-action@v3.4.0
uses: golangci/golangci-lint-action@v3.6.0
with:
version: v1.49.0
version: v1.52.2
6 changes: 3 additions & 3 deletions .github/workflows/make.doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ jobs:
contents: write
steps:
- name: Checkout
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@v3

- name: Setup Go
uses: actions/setup-go@6edd4406fa81c3da01a34fa6f6343087c207a568
uses: actions/setup-go@v4
with:
go-version: '1.19.0'
go-version: '~1.21.0'

- name: Update Docs
run: |
Expand Down
55 changes: 55 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Release

on:
workflow_dispatch:
inputs:
commit:
description: "Commit (e.g., 52f0348)"
default: "master"

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v3
with:
ref: ${{ github.event.inputs.commit }}
- name: Set up info
run: |
set -x -e
VERSION=$(make -f Makefile.release version)
COMMIT=$(git rev-parse --quiet --verify ${{ github.event.inputs.commit }})
if [[ "$(git tag -l v${VERSION})" == "v${VERSION}" ]]; then
echo "v${VERSION} already released"
exit 1
fi
echo "commit=${COMMIT}" >> $GITHUB_OUTPUT
echo "version=${VERSION}" >> $GITHUB_OUTPUT
id: info
- name: Build release binary
run: make -f Makefile.release release
- name: Build release binary sha256
run: (cd release; for asset in `ls -A *tgz`; do sha256sum $asset > $asset.sha256; done)
- name: Remove hidden section
run: sed '/+++/,//d' notes/coredns-${{ steps.info.outputs.version}}.md > release.md
- name: Log release info
run: |
set -x -e
git log -1
echo ${{ steps.info.outputs.commit }}
echo ${{ steps.info.outputs.version }}
cat release.md
sha256sum release/*.tgz
- name: Draft release
uses: softprops/action-gh-release@v1
with:
body_path: release.md
name: v${{ steps.info.outputs.version }}
tag_name: v${{ steps.info.outputs.version }}
target_commitish: ${{ steps.info.outputs.commit }}
files: |
release/*.tgz
release/*.tgz.sha256
draft: true
25 changes: 0 additions & 25 deletions .github/workflows/reviewdog.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ jobs:

steps:
- name: "Checkout code"
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@v3
with:
persist-credentials: false

- name: "Run analysis"
uses: ossf/scorecard-action@e38b1902ae4f44df626f11ba0734b14fb91f8f86
uses: ossf/scorecard-action@08b4669551908b1024bb425080c797723083c031
with:
results_file: results.sarif
results_format: sarif
Expand All @@ -51,6 +51,6 @@ jobs:

# Upload the results to GitHub's code scanning dashboard.
- name: "Upload to code-scanning"
uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a
with:
sarif_file: results.sarif
2 changes: 1 addition & 1 deletion .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
pull-requests: write # for actions/stale to close stale PRs
runs-on: ubuntu-latest
steps:
- uses: actions/stale@6f05e4244c9a0b2ed3401882b05d701dd0a7289b
- uses: actions/stale@1160a2240286f5da8ec72b1c0816ce2481aabf84
with:
stale-issue-message: 'This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
stale-pr-message: 'This pull request is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days'
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/trivy-scan.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Trivy Nightly Scan
on:
schedule:
- cron: '0 2 * * 5' #Run at 2AM UTC on every Friday
- cron: '0 2 * * 5' # Run at 2AM UTC on every Friday

permissions: read-all
jobs:
Expand All @@ -20,15 +20,14 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3
- name: Run Trivy vulnerability scanner
uses: aquasecurity/trivy-action@cff3e9a7f62c41dd51975266d0ae235709e39c41 # master
uses: aquasecurity/trivy-action@41f05d9ecffa2ed3f1580af306000f734b733e54 # master
with:
image-ref: 'docker.io/coredns/coredns:${{ matrix.versions }}'
severity: 'CRITICAL,HIGH'
format: 'template'
template: '@/contrib/sarif.tpl'
format: 'sarif'
output: 'trivy-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/upload-sarif@3ebbd71c74ef574dbc558c82f70e52732c8b44fe # v2.2.1
uses: github/codeql-action/upload-sarif@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
with:
sarif_file: 'trivy-results.sarif'
4 changes: 2 additions & 2 deletions .github/workflows/yamllint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: 'Checkout'
uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8
uses: actions/checkout@v3
- name: 'Yamllint'
uses: karancode/yamllint-github-action@dd59165b84d90d37fc919c3c7dd84c7e37cd6bfb
uses: karancode/yamllint-github-action@fdef6bc189425ecc84cc4543b2674566c0827053
with:
yamllint_file_or_dir: '.'
yamllint_strict: false
Expand Down
2 changes: 2 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,5 @@ linters:
- typecheck
- whitespace
- unused
- gofmt
- unconvert
3 changes: 2 additions & 1 deletion ADOPTERS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
* [Qwilt](https://www.qwilt.com) uses CoreDNS in production, implementing a global DNS service allowing access to our ISP edge and regional locations.
* [Infoblox](https://www.infoblox.com) uses CoreDNS in its Active Trust Cloud SaaS service, as well as for Kubernetes cluster DNS.
* [Sky Betting & Gaming](https://engineering.skybettingandgaming.com) uses CoreDNS for Kubernetes cluster DNS.
* [Kismia](https://kismia.com) uses CoreDNS for Kubernetes cluster DNS.
Expand Down Expand Up @@ -30,4 +31,4 @@
* [Render](https://render.com) uses CoreDNS in production across all its Kubernetes clusters.
* [BackMarket](https://www.backmarket.com) uses CoreDNS within Kubernetes in production, with standard configuration.
* [Absa Group](https://www.absa.africa) uses CoreDNS as an integral part of Kubernetes Global Balancer project - [k8gb](https://www.k8gb.io/).
* [Northflank](https://northflank.com/) uses CoreDNS on all of our Kubernetes clusters across GCP, AWS, and bare-metal.
* [Northflank](https://northflank.com/) uses CoreDNS on all of our Kubernetes clusters across GCP, AWS, and bare-metal.
17 changes: 10 additions & 7 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
FROM --platform=$BUILDPLATFORM debian:stable-slim
ARG DEBIAN_IMAGE=debian:stable-slim
ARG BASE=gcr.io/distroless/static-debian11:nonroot
FROM --platform=$BUILDPLATFORM ${DEBIAN_IMAGE} AS build
SHELL [ "/bin/sh", "-ec" ]

RUN export DEBCONF_NONINTERACTIVE_SEEN=true \
Expand All @@ -7,13 +9,14 @@ RUN export DEBCONF_NONINTERACTIVE_SEEN=true \
TERM=linux ; \
apt-get -qq update ; \
apt-get -yyqq upgrade ; \
apt-get -yyqq install ca-certificates ; \
apt-get -yyqq install ca-certificates libcap2-bin; \
apt-get clean
COPY coredns /coredns
RUN setcap cap_net_bind_service=+ep /coredns

FROM --platform=$TARGETPLATFORM scratch

COPY --from=0 /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
ADD coredns /coredns

FROM --platform=$TARGETPLATFORM ${BASE}
COPY --from=build /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=build /coredns /coredns
USER nonroot:nonroot
EXPOSE 53 53/udp
ENTRYPOINT ["/coredns"]
Loading