Skip to content

Commit

Permalink
Pass kubelet version in kubelet.service unit description
Browse files Browse the repository at this point in the history
  • Loading branch information
rfranzke committed Jan 12, 2022
1 parent e170b6d commit 2caddc9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ func (component) Config(ctx components.Context) ([]extensionsv1alpha1.Unit, []ex
Command: pointer.String("start"),
Enable: pointer.Bool(true),
Content: pointer.String(`[Unit]
Description=kubelet daemon
Description=kubelet daemon ` + ctx.KubernetesVersion.String() + `
Documentation=https://kubernetes.io/docs/admin/kubelet
` + unitConfigAfterCRI(ctx.CRIName) + `
[Install]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ var _ = Describe("Component", func() {
Command: pointer.String("start"),
Enable: pointer.Bool(true),
Content: pointer.String(`[Unit]
Description=kubelet daemon
Description=kubelet daemon ` + ctx.KubernetesVersion.String() + `
Documentation=https://kubernetes.io/docs/admin/kubelet
` + unitConfigAfterCRI(criName) + `
[Install]
Expand Down

0 comments on commit 2caddc9

Please sign in to comment.