Showing 41 of 51 total issues
Function overwriteValuesFile
has 5 return statements (exceeds 4 allowed). Open
Open
func overwriteValuesFile(chartDir string, values helmify.Values, certManagerAsSubchart bool) error {
if certManagerAsSubchart {
_, err := values.Add(true, "certmanager", "installCRDs")
if err != nil {
return fmt.Errorf("%w: unable to add cert-manager.installCRDs", err)