pkg/processor/rbac/role.go
Method role.Process
has 6 return statements (exceeds 4 allowed). Open
Open
func (r role) Process(appMeta helmify.AppMetadata, obj *unstructured.Unstructured) (bool, helmify.Template, error) {
var aggregationRule string
if obj.GroupVersionKind() != clusterRoleGVC && obj.GroupVersionKind() != roleGVC {
return false, nil, nil