Skip to content

helm: replace order of global and local values #324

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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