cvat-ai / cvat

Annotate better with CVAT, the industry-leading data engine for machine learning. Used and trusted by teams at any scale, for data of any scale.
https://cvat.ai
MIT License
12.45k stars 2.99k forks source link

Helm can't install with analytics.enabled false #7507

Open hannatao opened 8 months ago

hannatao commented 8 months ago

Actions before raising this issue

Steps to Reproduce

  1. set analytics.enabled to false in values.yaml
  2. run helm install

Expected Behavior

Install without analytics

Possible Solution

This problem doesn't exist in v2.8.0

Context

I got this error Error: template: cvat/charts/redis/templates/master/service.yaml:12:14: executing "cvat/charts/redis/templates/master/service.yaml" at <include "common.labels.standard" (dict "customLabels" .Values.commonLabels "context" $)>: error calling include: template: cvat/charts/postgresql/charts/common/templates/_labels.tpl:6:27: executing "common.labels.standard" at <include "common.names.name" .>: error calling include: template: cvat/charts/postgresql/charts/common/templates/_names.tpl:6:18: executing "common.names.name" at <.Chart.Name>: nil pointer evaluating interface {}.Name

Environment

No response

hannatao commented 7 months ago

In addition, my k8s version is v1.20.15, helm version is v3.6.3.

abhi-bhatra commented 7 months ago

Hi @nmanovic I found the fix of this issue. It is coming due to compatibility of common chart dependency between Postgres and Redis. I have installed common chart as a separate sub chart. This will possibly fix the issue. I have tried running Helm with analytics enabled and disabled. It is fixed !