Skip to content

bug: The getImageInfoByValue chart method overrides scoped parameters with global registry setting #2098

@kuwv

Description

@kuwv

When defining global.imageRegistry the getImageInfoByValue will override defined scoped parameters with global registry settings instead.

charts:
jfrog-platform => artifactory

    global:
      imageRegistry: registry.example.com
    artifactory:
      nginx:
        image:
          registry: releases-docker.jfrog.io
          repository: jfrog/nginx-artifactory-pro

resulting:

kind: pod
spec:
  containers:
  - image: registry.example.com/jfrog/nginx-artifactory-pro:7.104.12

https://github.com/jfrog/charts/blob/master/stable/artifactory/templates/_helpers.tpl#L228

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions