Skip to content

helm: replace order of global and local values #324

@netanelC

Description

@netanelC

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 -}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions