Azure / Azure/AKS

ArgoCD Repo Server: `git fetch origin --tags --force --prune` failed exit status 128: No user exists for uid 999

Open
#5,928 2 comments 0 reactions 1 assignee Claimed by @ponatara View on GitHub
bug extension/argocd
Dominant language
TypeScript
Stars
2.1k
Forks
395
Avg merge
2d 22h
Merged PRs (30d)
13

Description

**Describe the bug**
When running ArgoCD extension in AKS and attaching an application that references a repository via a `git@github.com:...` uri, the error `git fetch origin --tags --force --prune failed exit status 128: No user exists for uid 999` occurs and Sync Status becomes Unknown.

**Expected behavior**
I expected the application to successfully pull and use the repository's content.

**Environment (please complete the following information):**

Microsoft.ArgoCD Extension version `1.0.8-preview`
ArgoCD Repo Server image version `mcr.microsoft.com/oss/v2/argoproj/argocd:v3.4.5-17`
Kubernetes version `1.36.3`

**Additional context**
Problem is resolved if the `argocd-repo-server` deployment is patched with

```securityContext:
runAsUser: 65534
runAsGroup: 999
runAsNonRoot: true
supplementalGroups:
- 999
fsGroup: 999
```

Might be related to https://github.com/Azure/AKS/issues/5259

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.