Skip to content

Unable to specify custom registry for select images #111

@wahabmk

Description

@wahabmk

Taking the addon-controller as an example, in the Sveltos helm chart, the image for the addon-controller deployment is templated as:

image: {{ .Values.global.registry }}/{{ .Values.addonController.controller.image.repository }}{{- if .Values.global.useDigest }}@{{ .Values.addonController.controller.image.digest }}{{- else }}:{{ .Values.addonController.controller.image.tag | default .Chart.AppVersion }}{{- end }}

The problem this presents is that if I want to host only the addon-controller image on another registry, then I will have to host all other images on that registry as well (due to the {{ .Values.global.registry }}/ prefix).

projectsveltos/addon-controller#1117 is an example where I had to build a new image just for addon-controller to verify my changes.

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