fix: correctly define example for extraMounts

The type was changed, but the example wasn't updated accordingly.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
This commit is contained in:
Artem Chernyshev 2021-09-01 19:05:55 +03:00
parent 01cca099f4
commit bd5b9c96e2
No known key found for this signature in database
GPG Key ID: 9B9D0328B57B443F
2 changed files with 10 additions and 8 deletions

View File

@ -6,7 +6,7 @@ github_repo = "talos-systems/talos"
match_deps = "^github.com/(talos-systems/[a-zA-Z0-9-]+)$" match_deps = "^github.com/(talos-systems/[a-zA-Z0-9-]+)$"
# previous release # previous release
previous = "v0.11.0" previous = "v0.12.0"
pre_release = true pre_release = true

View File

@ -356,8 +356,9 @@ var (
mustParseURL("https://cluster1.internal:6443"), mustParseURL("https://cluster1.internal:6443"),
} }
kubeletExtraMountsExample = []specs.Mount{ kubeletExtraMountsExample = []ExtraMount{
{ {
specs.Mount{
Source: "/var/lib/example", Source: "/var/lib/example",
Destination: "/var/lib/example", Destination: "/var/lib/example",
Type: "bind", Type: "bind",
@ -366,6 +367,7 @@ var (
"rw", "rw",
}, },
}, },
},
} }
networkConfigExtraHostsExample = []*ExtraHost{ networkConfigExtraHostsExample = []*ExtraHost{