Skip to content

Commit

Permalink
embed only needed files
Browse files Browse the repository at this point in the history
Signed-off-by: Jakub Dyszkiewicz <jakub.dyszkiewicz@gmail.com>
  • Loading branch information
jakubdyszkiewicz committed Apr 22, 2021
1 parent e108360 commit e64ab29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deployments/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

// By default, go embed does not embed files that starts with `.` or `_` that's why we need to add _helpers.tpl explicitly

//go:embed charts/* charts/kuma/templates/_helpers.tpl
//go:embed charts/kuma/templates/* charts/kuma/crds/* charts/kuma/*.yaml
var ChartsData embed.FS

func KumaChartFS() fs.FS {
Expand Down

0 comments on commit e64ab29

Please sign in to comment.