Skip to content

[bitnami/common] Template rendering is trying to call function #31503

@notwaf

Description

@notwaf

Name and Version

bitnami/common v2.29.0

What architecture are you using?

None

What steps will reproduce the bug?

  1. use these configs:
    values.yaml
configMap:
  data:
    blah: "xcbvxcvbcbv{{ `{{ASDF}}` }}iouyyiouoiyu"

configmap.yaml

{{- $allValues := include "common.tplvalues.render" ( dict "value" ( include "common.tplvalues.merge" ( dict "values" ( list $.Values .Values $ . ) "context" $ ) ) "context" $ ) | fromYaml }}
{{- with $allValues.configMap }}
apiVersion: v1
kind: ConfigMap
metadata:
  name: blah
data:
{{ .data | toYaml | indent 2 }}
{{- end }}

2.run helm

Are you using any custom parameters or values?

No response

What is the expected behavior?

yaml should render successfully with the following output:

apiVersion: v1
kind: ConfigMap
metadata:
  name: blah
data:
  blah: "xcbvxcvbcbv{{ASDF}}iouyyiouoiyu"

What do you see instead?

template: gotpl:5: function "ASDF" not defined

Additional information

definitely could be doing something wrong, but seems odd that it breaks like this.

Metadata

Metadata

Assignees

Labels

commonsolvedstale15 days without activitytech-issuesThe user has a technical issue about an application

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions