Skip to content

ArgoCD Image Updater 1.0.0 Create wrong config for Helm #1343

@oo00spy00oo

Description

@oo00spy00oo

Describe the bug

I am using ApplicationSet to generate Application with Git.
The service name is sample-api

Image Updater create wrong format of Helm generator for ArgoCD .argocd-source-argocd_sample-api.yaml

Why argocd_ appear here?

To Reproduce

apiVersion: argocd-image-updater.argoproj.io/v1alpha1
kind: ImageUpdater
metadata:
  name: sample-image-updater
  namespace: dev
spec:
  namespace: argocd
  commonUpdateSettings:
    pullSecret: pullsecret:argocd-image-updater-system/registry-secret
    updateStrategy: "newest-build"
    forceUpdate: true
    allowTags: "regexp:^[0-9a-f]{7}$"
    ignoreTags: ["latest"]
  writeBackConfig:
    method: "git:secret:argocd-image-updater-system/git-creds"
  applicationRefs:
    - namePattern: "sample-api"
      images:
        - alias: "sample-api"
          imageName: "registry.passiontech.dev/sample-api"

Expected behavior
Generated file should be: .argocd-source-sample-api.yaml follow the standard format .argocd-source-<service_name>.yaml

Version
ArgoCD Image Updater: 1.0.0
ArgoCD 3.2.0

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