Skip to content

Commit

Permalink
fix: correctly define example for extraMounts
Browse files Browse the repository at this point in the history
The type was changed, but the example wasn't updated accordingly.

Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
  • Loading branch information
Unix4ever committed Sep 1, 2021
1 parent 01cca09 commit bd5b9c9
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion hack/release.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ github_repo = "talos-systems/talos"
match_deps = "^github.com/(talos-systems/[a-zA-Z0-9-]+)$"

# previous release
previous = "v0.11.0"
previous = "v0.12.0"

pre_release = true

Expand Down
16 changes: 9 additions & 7 deletions pkg/machinery/config/types/v1alpha1/v1alpha1_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -356,14 +356,16 @@ var (
mustParseURL("https://cluster1.internal:6443"),
}

kubeletExtraMountsExample = []specs.Mount{
kubeletExtraMountsExample = []ExtraMount{
{
Source: "/var/lib/example",
Destination: "/var/lib/example",
Type: "bind",
Options: []string{
"rshared",
"rw",
specs.Mount{
Source: "/var/lib/example",
Destination: "/var/lib/example",
Type: "bind",
Options: []string{
"rshared",
"rw",
},
},
},
}
Expand Down

0 comments on commit bd5b9c9

Please sign in to comment.