Describe the bug
Currently, global values are more important than local values, it is supposed to be the opposite.
You can see _helpers.tpl:
|
{{/* |
|
Returns the environment from global if exists or from the chart's values, defaults to development |
|
*/}} |
|
{{- define "ts-server-boilerplate.environment" -}} |
|
{{- if .Values.global.environment }} |
|
{{- .Values.global.environment -}} |
|
{{- else -}} |
|
{{- .Values.environment | default "development" -}} |
|
{{- end -}} |
|
{{- end -}} |
Describe the bug
Currently, global values are more important than local values, it is supposed to be the opposite.
You can see _helpers.tpl:
ts-server-boilerplate/helm/templates/_helpers.tpl
Lines 60 to 69 in adbbe33