arttor/helmify

View on GitHub
pkg/processor/rbac/role.go

Summary

Maintainability
A
40 mins
Test Coverage
F
52%

Method role.Process has 6 return statements (exceeds 4 allowed).
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
Severity: Major
Found in pkg/processor/rbac/role.go - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status