Skip to content

Commit d73d557

Browse files
authored
Add 1.9.1 (#66)
Signed-off-by: Chris O'Haver <[email protected]>
1 parent 333bf40 commit d73d557

File tree

2 files changed

+24
-1
lines changed

2 files changed

+24
-1
lines changed

corefile-tool/cmd/validversions_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ func TestNewValidVersionsCmd(t *testing.T) {
1515
{
1616
name: "Works without error",
1717
expectedOutput: `The following are valid CoreDNS versions:
18-
1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.9, 1.7.0, 1.7.1, 1.8.0, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.9.0
18+
1.1.3, 1.1.4, 1.2.0, 1.2.1, 1.2.2, 1.2.3, 1.2.4, 1.2.5, 1.2.6, 1.3.0, 1.3.1, 1.4.0, 1.5.0, 1.5.1, 1.5.2, 1.6.0, 1.6.1, 1.6.2, 1.6.3, 1.6.4, 1.6.5, 1.6.6, 1.6.7, 1.6.9, 1.7.0, 1.7.1, 1.8.0, 1.8.3, 1.8.4, 1.8.5, 1.8.6, 1.8.7, 1.9.0, 1.9.1
1919
`,
2020
expectedError: false,
2121
},

migration/versions.go

+23
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,30 @@ type release struct {
3030

3131
// Versions holds a map of plugin/option migrations per CoreDNS release (since 1.1.4)
3232
var Versions = map[string]release{
33+
"1.9.1": {
34+
priorVersion: "1.9.0",
35+
dockerImageSHA: "d5a7db9ab4cb3efc22a08707385c54c328db3df32841d6c4a8ae78f102f1f49a",
36+
plugins: map[string]plugin{
37+
"errors": plugins["errors"]["v2"],
38+
"log": plugins["log"]["v1"],
39+
"health": plugins["health"]["v1"],
40+
"ready": {},
41+
"autopath": {},
42+
"kubernetes": plugins["kubernetes"]["v8"],
43+
"k8s_external": plugins["k8s_external"]["v1"],
44+
"prometheus": {},
45+
"forward": plugins["forward"]["v3"],
46+
"cache": plugins["cache"]["v1"],
47+
"loop": {},
48+
"reload": {},
49+
"loadbalance": {},
50+
"hosts": plugins["hosts"]["v1"],
51+
"rewrite": plugins["rewrite"]["v2"],
52+
"transfer": plugins["transfer"]["v1"],
53+
},
54+
},
3355
"1.9.0": {
56+
nextVersion: "1.9.1",
3457
priorVersion: "1.8.7",
3558
dockerImageSHA: "0f101fabf4b63883d4529435f75b1e8816dcc8915e8fa7d28aa6e50a15e9ea6a",
3659
plugins: map[string]plugin{

0 commit comments

Comments
 (0)