Helm-operator: Error: at <.Values.global.app.my.name>: nil pointer evaluating interface {}.name

Created on 6 Aug 2019  路  1Comment  路  Source: fluxcd/helm-operator

Describe the bug
The value of global.app.my.name is not picked up, and the following error appears in the helm operator logs:

at <.Values.global.app.my.name>: nil pointer evaluating interface {}.name

The value is provided as follows in the HelmRelease definition:

  values:
    global.app.my.name: "${my_name}"

To Reproduce

Expected behavior
The value of global.app.my.name should be used as provided, and no error should appear.

Logs

ts=2019-08-06T18:07:53.149745284Z caller=release.go:215 component=release error="Chart release failed: test-one: &status.statusError{Code:2, Message:\"render error in \\\"...\\\" at <.Values.global.global.app.my.name>: nil pointer evaluating interface {}.name\", Details:[]*any.Any(nil), XXX_NoUnkeyedLiteral:struct {}{}, XXX_unrecognized:[]uint8(nil), XXX_sizecache:0}"

Additional context
Add any other context about the problem here, e.g

  • Flux version: flux-0.11.0 1.13.2
  • Kubernetes version:
Client Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.7-eks-c57ff8", GitCommit:"c57ff8e35590932c652433fab07988da79265d5b", GitTreeState:"clean", BuildDate:"2019-06-11T03:47:47Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.8-eks-a977ba", GitCommit:"a977bab148535ec195f12edc8720913c7b943f9c", GitTreeState:"clean", BuildDate:"2019-07-29T20:47:04Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}

bug

Most helpful comment

@imriss have you tried escaping the $? E.g. \${my_name} as a value.

>All comments

@imriss have you tried escaping the $? E.g. \${my_name} as a value.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Docteur-RS picture Docteur-RS  路  6Comments

limscoder picture limscoder  路  3Comments

steven-sheehy picture steven-sheehy  路  4Comments

fredgate picture fredgate  路  5Comments

sayboras picture sayboras  路  4Comments