Skip to content

Commit 7ba1df9

Browse files
committed
Signed-off-by: reggie-k <regina.voloshin@codefresh.io>
Merge branch 'master' of https://github.com/argoproj/argo-cd
2 parents edc47e6 + a64933f commit 7ba1df9

File tree

80 files changed

+4321
-123
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

80 files changed

+4321
-123
lines changed

cmd/argocd-repo-server/commands/argocd_repo_server.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ func NewCommand() *cobra.Command {
8080
includeHiddenDirectories bool
8181
cmpUseManifestGeneratePaths bool
8282
ociMediaTypes []string
83+
enableBuiltinGitConfig bool
8384
)
8485
command := cobra.Command{
8586
Use: cliName,
@@ -155,6 +156,7 @@ func NewCommand() *cobra.Command {
155156
IncludeHiddenDirectories: includeHiddenDirectories,
156157
CMPUseManifestGeneratePaths: cmpUseManifestGeneratePaths,
157158
OCIMediaTypes: ociMediaTypes,
159+
EnableBuiltinGitConfig: enableBuiltinGitConfig,
158160
}, askPassServer)
159161
errors.CheckError(err)
160162

@@ -265,6 +267,7 @@ func NewCommand() *cobra.Command {
265267
command.Flags().BoolVar(&includeHiddenDirectories, "include-hidden-directories", env.ParseBoolFromEnv("ARGOCD_REPO_SERVER_INCLUDE_HIDDEN_DIRECTORIES", false), "Include hidden directories from Git")
266268
command.Flags().BoolVar(&cmpUseManifestGeneratePaths, "plugin-use-manifest-generate-paths", env.ParseBoolFromEnv("ARGOCD_REPO_SERVER_PLUGIN_USE_MANIFEST_GENERATE_PATHS", false), "Pass the resources described in argocd.argoproj.io/manifest-generate-paths value to the cmpserver to generate the application manifests.")
267269
command.Flags().StringSliceVar(&ociMediaTypes, "oci-layer-media-types", env.StringsFromEnv("ARGOCD_REPO_SERVER_OCI_LAYER_MEDIA_TYPES", []string{"application/vnd.oci.image.layer.v1.tar", "application/vnd.oci.image.layer.v1.tar+gzip", "application/vnd.cncf.helm.chart.content.v1.tar+gzip"}, ","), "Comma separated list of allowed media types for OCI media types. This only accounts for media types within layers.")
270+
command.Flags().BoolVar(&enableBuiltinGitConfig, "enable-builtin-git-config", env.ParseBoolFromEnv("ARGOCD_REPO_SERVER_ENABLE_BUILTIN_GIT_CONFIG", true), "Enable builtin git configuration options that are required for correct argocd-repo-server operation.")
268271
tlsConfigCustomizerSrc = tls.AddTLSFlagsToCmd(&command)
269272
cacheSrc = reposervercache.AddCacheFlagsToCmd(&command, cacheutil.Options{
270273
OnClientCreated: func(client *redis.Client) {

cmd/argocd/commands/project.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,9 @@ type policyOpts struct {
4141
// NewProjectCommand returns a new instance of an `argocd proj` command
4242
func NewProjectCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command {
4343
command := &cobra.Command{
44-
Use: "proj",
45-
Short: "Manage projects",
44+
Use: "proj",
45+
Short: "Manage projects",
46+
Aliases: []string{"project"},
4647
Example: templates.Examples(`
4748
# List all available projects
4849
argocd proj list
@@ -826,7 +827,7 @@ func NewProjectListCommand(clientOpts *argocdclient.ClientOptions) *cobra.Comman
826827
# List all available projects
827828
argocd proj list
828829
829-
# List all available projects in yaml format
830+
# List all available projects in yaml format (other options are "json" and "name")
830831
argocd proj list -o yaml
831832
`),
832833
Run: func(c *cobra.Command, _ []string) {

docs/operator-manual/argocd-cmd-params-cm.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,8 @@ data:
219219
reposerver.git.lsremote.parallelism.limit: "0"
220220
# Git requests timeout.
221221
reposerver.git.request.timeout: "15s"
222+
# Enable builtin git configuration options that are required for correct argocd-repo-server operation (default "true")
223+
reposerver.enable.builtin.git.config: "true"
222224
# Include hidden directories from Git
223225
reposerver.include.hidden.directories: "false"
224226

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
2+
# Git Configuration
3+
4+
## System Configuration
5+
6+
Argo CD uses the Git installation from its base image (Ubuntu), which
7+
includes a standard system configuration file located at
8+
`/etc/gitconfig`. This file is minimal, just defining filters
9+
necessary for Git LFS functionality.
10+
11+
You can customize Git's system configuration by mounting a file from a
12+
ConfigMap or by creating a custom Argo CD image.
13+
14+
## Global Configuration
15+
16+
Argo CD runs Git with the `HOME` environment variable set to
17+
`/dev/null`. As a result, global Git configuration is not supported.
18+
19+
## Built-in Configuration
20+
21+
The `argocd-repo-server` adds specific configuration parameters to the
22+
Git environment to ensure proper Argo CD operation. These built-in
23+
settings override any conflicting values from the system Git
24+
configuration.
25+
26+
Currently, the following built-in configuration options are set:
27+
28+
- `maintenance.autoDetach=false`
29+
- `gc.autoDetach=false`
30+
31+
These settings force Git's repository maintenance tasks to run in the
32+
foreground. This prevents Git from running detached background
33+
processes that could modify the repository and interfere with
34+
subsequent Git invocations from `argocd-repo-server`.
35+
36+
You can disable these built-in settings by setting the
37+
`argocd-cmd-params-cm` value `reposerver.enable.builtin.git.config` to
38+
`"false"`. This allows you to experiment with background processing or
39+
if you are certain that concurrency issues will not occur in your
40+
environment.
41+
42+
> [!NOTE]
43+
> Disabling this is not recommended and is not supported!

docs/operator-manual/resource_actions_builtin.md

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/operator-manual/server-commands/argocd-repo-server.md

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/snyk/index.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ recent minor releases.
1515
|---:|:--------:|:----:|:------:|:---:|
1616
| [go.mod](master/argocd-test.html) | 0 | 0 | 5 | 0 |
1717
| [ui/yarn.lock](master/argocd-test.html) | 0 | 0 | 1 | 2 |
18-
| [dex:v2.43.0](master/ghcr.io_dexidp_dex_v2.43.0.html) | 0 | 0 | 0 | 3 |
19-
| [haproxy:3.0.8-alpine](master/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 3 |
18+
| [dex:v2.43.0](master/ghcr.io_dexidp_dex_v2.43.0.html) | 0 | 0 | 0 | 5 |
19+
| [haproxy:3.0.8-alpine](master/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 5 |
2020
| [redis:8.2.3-alpine](master/public.ecr.aws_docker_library_redis_8.2.3-alpine.html) | 0 | 0 | 0 | 2 |
2121
| [argocd:latest](master/quay.io_argoproj_argocd_latest.html) | 0 | 0 | 4 | 9 |
2222
| [install.yaml](master/argocd-iac-install.html) | - | - | - | - |
@@ -28,8 +28,8 @@ recent minor releases.
2828
|---:|:--------:|:----:|:------:|:---:|
2929
| [go.mod](v3.2.0-rc4/argocd-test.html) | 0 | 1 | 7 | 0 |
3030
| [ui/yarn.lock](v3.2.0-rc4/argocd-test.html) | 0 | 0 | 3 | 2 |
31-
| [dex:v2.43.0](v3.2.0-rc4/ghcr.io_dexidp_dex_v2.43.0.html) | 0 | 0 | 0 | 3 |
32-
| [haproxy:3.0.8-alpine](v3.2.0-rc4/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 3 |
31+
| [dex:v2.43.0](v3.2.0-rc4/ghcr.io_dexidp_dex_v2.43.0.html) | 0 | 0 | 0 | 5 |
32+
| [haproxy:3.0.8-alpine](v3.2.0-rc4/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 5 |
3333
| [redis:8.2.2-alpine](v3.2.0-rc4/public.ecr.aws_docker_library_redis_8.2.2-alpine.html) | 0 | 0 | 0 | 2 |
3434
| [argocd:v3.2.0-rc4](v3.2.0-rc4/quay.io_argoproj_argocd_v3.2.0-rc4.html) | 0 | 0 | 4 | 9 |
3535
| [install.yaml](v3.2.0-rc4/argocd-iac-install.html) | - | - | - | - |
@@ -41,9 +41,9 @@ recent minor releases.
4141
|---:|:--------:|:----:|:------:|:---:|
4242
| [go.mod](v3.1.9/argocd-test.html) | 0 | 1 | 7 | 0 |
4343
| [ui/yarn.lock](v3.1.9/argocd-test.html) | 1 | 0 | 3 | 2 |
44-
| [dex:v2.43.0](v3.1.9/ghcr.io_dexidp_dex_v2.43.0.html) | 0 | 0 | 0 | 3 |
45-
| [haproxy:3.0.8-alpine](v3.1.9/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 3 |
46-
| [redis:7.2.11-alpine](v3.1.9/public.ecr.aws_docker_library_redis_7.2.11-alpine.html) | 0 | 0 | 0 | 0 |
44+
| [dex:v2.43.0](v3.1.9/ghcr.io_dexidp_dex_v2.43.0.html) | 0 | 0 | 0 | 5 |
45+
| [haproxy:3.0.8-alpine](v3.1.9/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 5 |
46+
| [redis:7.2.11-alpine](v3.1.9/public.ecr.aws_docker_library_redis_7.2.11-alpine.html) | 0 | 0 | 0 | 2 |
4747
| [argocd:v3.1.9](v3.1.9/quay.io_argoproj_argocd_v3.1.9.html) | 0 | 0 | 3 | 12 |
4848
| [install.yaml](v3.1.9/argocd-iac-install.html) | - | - | - | - |
4949
| [namespace-install.yaml](v3.1.9/argocd-iac-namespace-install.html) | - | - | - | - |
@@ -54,11 +54,11 @@ recent minor releases.
5454
|---:|:--------:|:----:|:------:|:---:|
5555
| [go.mod](v3.0.20/argocd-test.html) | 0 | 4 | 7 | 0 |
5656
| [ui/yarn.lock](v3.0.20/argocd-test.html) | 1 | 1 | 4 | 4 |
57-
| [dex:v2.41.1](v3.0.20/ghcr.io_dexidp_dex_v2.41.1.html) | 0 | 1 | 0 | 7 |
58-
| [haproxy:3.0.8-alpine](v3.0.20/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 3 |
59-
| [redis:7.2.11-alpine](v3.0.20/public.ecr.aws_docker_library_redis_7.2.11-alpine.html) | 0 | 0 | 0 | 0 |
57+
| [dex:v2.41.1](v3.0.20/ghcr.io_dexidp_dex_v2.41.1.html) | 0 | 1 | 0 | 9 |
58+
| [haproxy:3.0.8-alpine](v3.0.20/public.ecr.aws_docker_library_haproxy_3.0.8-alpine.html) | 0 | 0 | 0 | 5 |
59+
| [redis:7.2.11-alpine](v3.0.20/public.ecr.aws_docker_library_redis_7.2.11-alpine.html) | 0 | 0 | 0 | 2 |
6060
| [argocd:v3.0.20](v3.0.20/quay.io_argoproj_argocd_v3.0.20.html) | 0 | 0 | 3 | 12 |
61-
| [redis:7.2.11-alpine](v3.0.20/redis_7.2.11-alpine.html) | 0 | 0 | 0 | 0 |
61+
| [redis:7.2.11-alpine](v3.0.20/redis_7.2.11-alpine.html) | 0 | 0 | 0 | 2 |
6262
| [install.yaml](v3.0.20/argocd-iac-install.html) | - | - | - | - |
6363
| [namespace-install.yaml](v3.0.20/argocd-iac-namespace-install.html) | - | - | - | - |
6464

@@ -68,10 +68,10 @@ recent minor releases.
6868
|---:|:--------:|:----:|:------:|:---:|
6969
| [go.mod](v2.14.21/argocd-test.html) | 0 | 2 | 10 | 0 |
7070
| [ui/yarn.lock](v2.14.21/argocd-test.html) | 1 | 0 | 4 | 3 |
71-
| [dex:v2.41.1](v2.14.21/ghcr.io_dexidp_dex_v2.41.1.html) | 0 | 1 | 0 | 7 |
72-
| [haproxy:2.6.17-alpine](v2.14.21/public.ecr.aws_docker_library_haproxy_2.6.17-alpine.html) | 0 | 1 | 2 | 9 |
73-
| [redis:7.2.11-alpine](v2.14.21/public.ecr.aws_docker_library_redis_7.2.11-alpine.html) | 0 | 0 | 0 | 0 |
71+
| [dex:v2.41.1](v2.14.21/ghcr.io_dexidp_dex_v2.41.1.html) | 0 | 1 | 0 | 9 |
72+
| [haproxy:2.6.17-alpine](v2.14.21/public.ecr.aws_docker_library_haproxy_2.6.17-alpine.html) | 0 | 1 | 2 | 11 |
73+
| [redis:7.2.11-alpine](v2.14.21/public.ecr.aws_docker_library_redis_7.2.11-alpine.html) | 0 | 0 | 0 | 2 |
7474
| [argocd:v2.14.21](v2.14.21/quay.io_argoproj_argocd_v2.14.21.html) | 0 | 0 | 3 | 11 |
75-
| [redis:7.2.11-alpine](v2.14.21/redis_7.2.11-alpine.html) | 0 | 0 | 0 | 0 |
75+
| [redis:7.2.11-alpine](v2.14.21/redis_7.2.11-alpine.html) | 0 | 0 | 0 | 2 |
7676
| [install.yaml](v2.14.21/argocd-iac-install.html) | - | - | - | - |
7777
| [namespace-install.yaml](v2.14.21/argocd-iac-namespace-install.html) | - | - | - | - |

docs/snyk/master/argocd-iac-install.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@
456456
<div class="header-wrap">
457457
<h1 class="project__header__title">Snyk test report</h1>
458458

459-
<p class="timestamp">November 23rd 2025, 12:27:10 am (UTC+00:00)</p>
459+
<p class="timestamp">November 26th 2025, 2:42:15 pm (UTC+00:00)</p>
460460
</div>
461461
<div class="source-panel">
462462
<span>Scanned the following path:</span>

docs/snyk/master/argocd-iac-namespace-install.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@
456456
<div class="header-wrap">
457457
<h1 class="project__header__title">Snyk test report</h1>
458458

459-
<p class="timestamp">November 23rd 2025, 12:27:21 am (UTC+00:00)</p>
459+
<p class="timestamp">November 26th 2025, 2:42:24 pm (UTC+00:00)</p>
460460
</div>
461461
<div class="source-panel">
462462
<span>Scanned the following path:</span>

docs/snyk/master/argocd-test.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@
487487
<div class="header-wrap">
488488
<h1 class="project__header__title">Snyk test report</h1>
489489

490-
<p class="timestamp">November 23rd 2025, 12:24:59 am (UTC+00:00)</p>
490+
<p class="timestamp">November 26th 2025, 2:40:03 pm (UTC+00:00)</p>
491491
</div>
492492
<div class="source-panel">
493493
<span>Scanned the following paths:</span>

0 commit comments

Comments
 (0)