Skip to content

Commit

Permalink
🦺 skip validation on reconciliation (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
petar-cvit authored Sep 11, 2024
1 parent ba2babb commit 7ebb43c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions cyclops-ctrl/internal/template/render/render.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,12 @@ func (r *Renderer) HelmTemplate(module cyclopsv1alpha1.Module, moduleTemplate *m
},
}

if len(chart.Schema) != 0 {
if err := chartutil.ValidateAgainstSchema(chart, values); err != nil {
return "", err
}
}
// TODO fix dependency validation
//if len(chart.Schema) != 0 {
// if err := chartutil.ValidateAgainstSchema(chart, values); err != nil {
// return "", err
// }
//}

out, err := engine.Render(chart, top)
if err != nil {
Expand Down

0 comments on commit 7ebb43c

Please sign in to comment.