Skip to content

[BUG] - Tempo-distributed gives minio check results even though it's disabled #1087

@drisbee

Description

@drisbee

System info:

  • OS: MacOS

Describe the bug
I want to check the tempo-distributed 1.58.1 chart with kube-linter and I get errors about minio, while the minio subchart is disabled.

To Reproduce
Steps to reproduce the behavior:

  1. Download tempo distributed chart or grafana-tempo chart
    name: tempo-distributed
    release-notes: https://github.com/grafana/helm-charts/releases
  2. kube-linter lint .

Sample YAML input

minio:
  enabled: false

grafanaAgent:
  enabled: false
  installOperator: false

Expected behavior
A clear and concise description of what you expected to happen.
It should give errors only from the enabled subcharts and in this case it shouldn't show issues from the minio chart because it is disabled.

Screenshots

/Users/andres/workspace/quickstart/library/helm/grafana-tempo/charts/tempo-distributed/charts/minio/templates/post-install-create-user-job.yaml: (object: default/test-release-minio-make-user-job batch/v1, Kind=Job) container "minio-mc" does not have a read-only root file system (check: no-read-only-root-fs, remediation: Set readOnlyRootFilesystem to true in the container securityContext.)   
```

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