AKS icon indicating copy to clipboard operation
AKS copied to clipboard

[BUG] argocd-commit-server binary is missing in mcr.microsoft.com/oss/v2/argoproj/argocd image

Open bonddim opened this issue 5 months ago • 3 comments

Describe the bug Extension deployment fails with enabled ArgoCD Source Hydrator and commit server component.

Custom argocd image mcr.microsoft.com/oss/v2/argoproj/argocd:v3.2.5 used by ArgoCD extension does not contain argocd-commit-server binary

To Reproduce Steps to reproduce the behavior:

resource "azapi_resource" "argocd_extension" {
  type      = "Microsoft.KubernetesConfiguration/extensions@2024-11-01"
  name      = "argocd"
  parent_id = var.cluster_resource_id
  body = {
    properties = {
      extensionType = "Microsoft.ArgoCD"
      releaseTrain  = "Preview"
      configurationSettings = {
        "azure.workloadIdentity.clientId"         = module.application.client_id
        "azure.workloadIdentity.enabled"          = "true"
        "azure.workloadIdentity.entraSSOClientId" = module.application.client_id
        "global.domain"                           = var.argocd_global_domain
        "global.logging.level"                    = "warn"
        "configs.cm.admin\\.enabled"              = "false"
        "configs.cm.oidc\\.config"                = local.oidc_config
        "configs.rbac.policy\\.csv"               = local.policy_csv
        # Enable Source Hydrator
        "configs.params.hydrator\\.enabled" = "true"
        "commitServer.enabled"              = "true"
        # Disable Redis HA and DEX
        "redis-ha.enabled" = "false"
        "dex.enabled"      = "false"
      }
    }
  }
}
kubectl logs argocd-commit-server-6999578c68-kvb4x
[FATAL tini (7)] exec /usr/local/bin/argocd-commit-server failed: No such file or directory

helm history argocd -n argocd
REVISION        UPDATED                         STATUS          CHART                           APP VERSION     DESCRIPTION                                       
1               Tue Jun 30 14:50:17 2026        superseded      azure-k8s-argo-1.0.0-preview    1.0.0-preview   Install complete                                  
2               Tue Jun 30 15:02:20 2026        superseded      azure-k8s-argo-1.0.0-preview    1.0.0-preview   Upgrade complete                                  
3               Tue Jun 30 16:04:30 2026        superseded      azure-k8s-argo-1.0.0-preview    1.0.0-preview   Upgrade complete                                  
4               Wed Jul  1 00:35:57 2026        superseded      azure-k8s-argo-1.0.0-preview    1.0.0-preview   Upgrade complete                                  
5               Wed Jul  1 03:56:06 2026        superseded      azure-k8s-argo-1.0.0-preview    1.0.0-preview   Upgrade complete                                  
6               Wed Jul  1 07:34:58 2026        failed          azure-k8s-argo-1.0.0-preview    1.0.0-preview   Upgrade "argocd" failed: context deadline exceeded
7               Wed Jul  1 07:50:32 2026        superseded      azure-k8s-argo-1.0.0-preview    1.0.0-preview   Rollback to 5     

Workaround Added additional configuration setting to use official image:

"commitServer.image.repository" = "quay.io/argoproj/argocd"

Expected behavior argocd-commit-server component runs successfully

Environment:

  • CLI Version [e.g. 3.22]
  • Kubernetes version [1.35.5]
  • ArgoCD Extension version [1.0.0-preview]

bonddim avatar Jul 01 '26 09:07 bonddim

@ponatara would you be able to assist?

This issue has been automatically marked as stale because it has not had any activity for 30 days. It will be closed if no further activity occurs within 7 days of this comment. Please review @ponatara.

Thank you for flagging. We are working on a fix and will provide an update soon

ponatara avatar Aug 04 '26 17:08 ponatara

This issue has been automatically marked as stale because it has not had any activity for 30 days. It will be closed if no further activity occurs within 7 days of this comment. Please review @ponatara.

This issue will now be closed because it hasn't had any activity for 7 days after stale. @bonddim feel free to comment again on the next 7 days to reopen or open a new issue after that time if you still have a question/issue or suggestion.