-
Notifications
You must be signed in to change notification settings - Fork 314
Description
Is your feature request related to a problem? Please describe.
ArgoCD supports a concept of Plugins, such as the kustomize/helm integration, and also used for extending ArgoCD for other use cases.
It appears that the argocd-image-updater only functions with the app.Status.SourceType is set to Kustomize or Helm (via auto-detect), and not when it is set to Plugin.
Describe the solution you'd like
When the type Plugin is used, we could still implement Helm or Kustomize like-behavior for git-based workflows, whereas the image override file can be written back to git as if it were one of these two types.
Describe alternatives you've considered
Mainly it would be dropping the use of the plugin, but it has proven to be handy at times for pre-Sync instrumentation of service discovery.
Additional context
Relevant segment using the kustomized helm example:
resources:
- health:
status: Healthy
kind: Service
name: kustomize-release-name-helm-guestbook
namespace: default
status: Synced
version: v1
- group: apps
health:
status: Healthy
kind: Deployment
name: kustomize-release-name-helm-guestbook
namespace: default
status: Synced
version: v1
sourceType: Plugin
summary:
images:
- gcr.io/heptio-images/ks-guestbook-demo:0.2
I'm not 100% sure if this is an ArgoCD thing, argocd-image-updater, or sort of both for a feature such as this. I understand there's a lot of "if" there especially if it couldn't reconcile using the imperative updated to the Application resource itself.