Skip to content

Commit 96fd4a1

Browse files
committed
feat(bundle): allow non strict bundle publishing
Set WERF_BUNDLE_SCHEMA_NONSTRICT=1 to include all files in the .helm into the published bundle.
1 parent 32dcb6b commit 96fd4a1

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

pkg/deploy/helm/chart_extender/bundle.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,11 @@ var (
250250
)
251251

252252
func CheckBundlePathAllowed(path string) bool {
253+
// TODO(bundles): provide more canonical way to whitelist/blacklist bundle files
254+
if os.Getenv("WERF_BUNDLE_SCHEMA_NONSTRICT") == "1" {
255+
return true
256+
}
257+
253258
for _, p := range AllowedBundleChartFiles {
254259
if p == path {
255260
return true

0 commit comments

Comments
 (0)