Skip to content

Commit a427283

Browse files
committed
fix(argocd): remove leading slash in application path
Remove the leading slash in the `path` field of the ArgoCD application configuration to ensure compatibility with the repository structure. ArgoCD interprets paths with a leading slash as absolute, which can cause sync errors when it fails to locate the specified directory.
1 parent a6675ca commit a427283

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

platform/argocd/do/argo-applications.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ spec:
88
source:
99
repoURL: https://github.com/metacpan/metacpan-k8s
1010
targetRevision: main
11-
path: "/argocd-applications/do/"
11+
path: "argocd-applications/do/"
1212
destination:
1313
server: "https://kubernetes.default.svc"
1414
namespace: argocd

0 commit comments

Comments
 (0)