Skip to content

fix(helm/kubearmor): YAML, args, and imagePullSecrets in workloads #2382

@aluizioj

Description

@aluizioj

Bug Report

General Information

  • Helm Chart Kubearmor

To Reproduce

  1. Just set the imagePullSecrets values ​​when using a private registry for problem 1.
  2. Attempting to set the tolerances breaks the code, as it already exists.

Expected behavior

Currently, some KubeArmor chart Helm templates render fields like imagePullSecrets and tolerances with incorrect indentation, even though in a controller deployment the field is in the same column as the imagePullPolicy, which is not implemented. This generates visually invalid/confusing YAML and deviates from Helm best practices.

There is also a problem with the parameter in the daemonset template, where the tolerances parameter is fixed and cannot be customized.

Screenshots

Error helm:

Image

Template daemonset:

Image Image

Template deployment:

Image

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