Skip to content

Commit

Permalink
fix: add ".Values." prefix to generated configmap.yaml file
Browse files Browse the repository at this point in the history
  • Loading branch information
anvari1313 committed Dec 13, 2021
1 parent c8cc2c3 commit 33db321
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/yaml.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ func traverse(m, configMap, values map[interface{}]interface{}, valuesPath strin
configMap[k] = localConfigMap
values[lowerCamelKey] = localValues
} else {
configMap[k] = "{{ " + valuesPath + lowerCamelKey + " }}"
configMap[k] = "{{ .Values." + valuesPath + lowerCamelKey + " }}"
values[lowerCamelKey] = v
}
}
Expand Down

0 comments on commit 33db321

Please sign in to comment.