Skip to content

Existing helm chart fails after recent changes on helm chart #10815

@1yuv

Description

@1yuv

Describe the bug
Using existing helm chart that works on 5.1 would fail on latest master after recent changes from PR #10758 .

To Reproduce
Steps to reproduce the behavior:

  1. Extract latest helm values from any 5.1 instance
  2. Try installing same helm value with latest cht-core checked out.
helm upgrade namespace /path/to/medic/cht-core/scripts/build/helm -n namespace -f /path/to/yuvraj/namespace-values.yaml
  1. This fails with following error.
Error: UPGRADE FAILED: template: cht-chart/templates/sentinel/deployment.yaml:22:32: executing "cht-chart/templates/sentinel/deployment.yaml" at <.Values.sentinel.node_env>: nil pointer evaluating interface {}.node_env

Expected behavior
A helm chart that works already should work without any issue.

Environment

  • Instance: Any
  • Browser: Any
  • Client platform: (eg: Windows, MacOS, Linux)
  • App: helm
  • Version: latest-master

cc: @mrjones-plip

Metadata

Metadata

Assignees

Labels

Type: BugFix something that isn't working as intended

Type

Projects

Status

🔍 In Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions