Skip to content

Commit c614acf

Browse files
authored
Merge pull request #68 from exdx/fix/validation
fix: pass in bundle objects to validators
2 parents 87cbe73 + 39e3816 commit c614acf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/manifests/bundle.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ func (b *Bundle) ObjectsToValidate() []interface{} {
3030
objs = append(objs, crd)
3131
}
3232
objs = append(objs, b.CSV)
33+
34+
for _, o := range b.Objects {
35+
objs = append(objs, o)
36+
}
3337
objs = append(objs, b)
3438

3539
return objs

0 commit comments

Comments
 (0)