Skip to content

Dapr dashboard does not respect the global registry value #14

@aytekinar

Description

@aytekinar

Current Behavior

I am using version 1.4.3 of dapr/dapr, and I have noticed that the Dapr dashboard char does not respect the global registry value in values.yaml.

Desired Behavior

Similar to, e.g., dapr-sentry, dapr-dashboard should also pick the global.registry value from values.yaml.

Possible Fix

The current deployment template (for dapr-dashboard) reads as below:

      - name: dapr-dashboard
        image: "{{ .Values.image.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}"
        imagePullPolicy: {{ .Values.global.imagePullPolicy }}

Perhaps, it should read instead (cheating from dapr-sentry's deployment template):

{{- if contains "/" .Values.image.name }}
        image: "{{ .Values.image.name }}"
{{- else }}
        image: "{{ .Values.global.registry }}/{{ .Values.image.name }}:{{ .Values.image.tag }}"
{{- end }}

Cc: @baboune

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions