Skip to content

Commit

Permalink
Render partials in linkerd multicluster allow (#8756)
Browse files Browse the repository at this point in the history
Closes #8430

Change the chart rendering from `RenderNoPartials` to `Render` so that the
partials are properly rendered.

```shell
$ bin/build-cli-bin
$ bin/linkerd multicluster allow --service-account-name foo
...
```

Signed-off-by: Kevin Leimkuhler <kleimkuhler@icloud.com>
  • Loading branch information
kleimkuhler authored Jun 28, 2022
1 parent 02ad4b1 commit 07b6278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multicluster/cmd/allow.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ func newAllowCommand() *cobra.Command {
Files: files,
Fs: static.Templates,
}
buf, err := chart.RenderNoPartials()
buf, err := chart.Render()
if err != nil {
return err
}
Expand Down

0 comments on commit 07b6278

Please sign in to comment.