Skip to content

[Improvement] Remove from the log "Object 'Kind' is missing in 'null' file" #512

@cmoulliard

Description

@cmoulliard

Improvement

When a YAML file, part of a package (like helm values file) is processed, then the following error message could be logged

Apr 10 08:35:40 ERROR reconciling custom pkg controller=localbuild controllerGroup=idpbuilder.cnoe.io controllerKind=Localbuild name=quarkus name=quarkus reconcileID=f12409c6-f278-467b-ad97-ec054f0c1cef err=Object 'Kind' is missing in 'null' file=external-secrets/values.yaml pkgUrl=https://github.com/ch007m/my-idp-packages//external-secrets

idpbuilder should avoid to report such an error for non Kubernetes resources/manifests when parsing yaml files

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions