Skip to content

Commit c9a41a4

Browse files
authored
Fix | Repo server concurrency fix (#431)
* Setting ephemeral helm working dir to false * Added comment clarifying config loading order to values-override.yaml
1 parent ca3441d commit c9a41a4

1 file changed

Lines changed: 14 additions & 1 deletion

File tree

argocd-config/values-override.yaml

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Overrides done by argocd-diff-preview
2-
# These will happen after the values.yaml file is loaded
2+
3+
# This file is embedded by the argocd-diff-preview binary and will be loaded after the values.yaml file
4+
# If a values-override.yaml is placed in argocd-config directory when argocd-diff-preview runs,
5+
# contents will be loaded after this embedded config. Use with caution, if needing to override anything in this file
6+
#
7+
# Loading order:
8+
# - values.yaml If present in argocd-config directory
9+
# - values-override.yaml Embedded in argocd-diff-preview (this file)
10+
# - values-override.yaml If present in argocd-config directory
311
notifications:
412
enabled: false
513
dex:
@@ -29,6 +37,11 @@ repoServer:
2937
successThreshold: 1
3038
timeoutSeconds: 1
3139
failureThreshold: 40
40+
# This prevents 'empty index.yaml' file corruption issues when multiple helm dependency build processes try to write the same index.yaml file
41+
# Setting this to false disables the shared working dir
42+
# Ref: https://github.com/argoproj/argo-cd/issues/12902
43+
# Ref: https://github.com/helm/helm/issues/10735#issuecomment-1486058169
44+
useEphemeralHelmWorkingDir: false
3245
controller:
3346
readinessProbe:
3447
initialDelaySeconds: 0

0 commit comments

Comments
 (0)