Skip to content

Helm lint fail #1059

@dudniksergei

Description

@dudniksergei

Describe the bug
helm lint failed for chart version 0.10.0 and 0.9.1

To Reproduce
Steps to reproduce the behavior:

  1. helm lint

Application deployment:

helm lint .
Error: 1 chart(s) linted, 1 chart(s) failed
==> Linting .
[INFO] Chart.yaml: icon is recommended
[ERROR] templates/: template: vault-secrets-operator/templates/deployment.yaml:78:17: executing "vault-secrets-operator/templates/deployment.yaml" at <include "vso.clientCacheNumLocks" .>: error calling include: template: vault-secrets-operator/templates/_helpers.tpl:343:[21](https://gitlab-paygate.paywb.info/devops/helm/charts/vault-secrets-operator/-/jobs/6542436#L21): executing "vso.clientCacheNumLocks" at <eq .numLocks 0>: error calling eq: incompatible types for comparison

Other useful info to include: kubectl describe deployment <app> and kubectl describe <vso-custom-resource> <app> output.

Expected behavior
lint without error

Environment

  • vault-secrets-operator version: chart 0.10.0 and 0.9.1

Additional context
Add any other context about the problem here.

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