Skip to content

[BUG] unset-memory-requirements validation broken #428

Description

@madduci

System info:

  • OS: Windows 10 21H2

Describe the bug
When running kube-linter on a Helm Chart where initContainers and containers are defined, the validation rules fails even if the resources (limits and requests) in a Deployment YAMLs are defined. Removing the initContainers block, the validation works.

To Reproduce
Validate a Deployment YAML with both initContainers and containers brings to the error validation

Expected behavior
The validation works and detects resources.

Screenshots
grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions