Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix out-of-bound symlink for gitops tools (#2073)
Summary: Fix out-of-bound symlink for gitops tools I'm working on deploying pixie cloud via gitops. For security reasons argocd block the deployment if an out of bound symlink is detected in the monorepo. ``` Failed to load target state: failed to generate manifest for source 1 of 1: rpc error: code = Unknown desc = repository contains out-of-bounds symlinks. file: src/common/system/testdata/proc/123/fd/1 ``` Changing the dummy symlink to a relative path that don't leave the root fixes the issue. Relevant Issues: N/A Type of change: /kind bug Test Plan: the items below - [x] Use my fork to test if the updated symlink path still block the argocd app deployment. - [x] Related unit test still pass Additional documentation: see the links below - argoproj/argo-cd#12593 (comment) - https://argo-cd.readthedocs.io/en/stable/operator-manual/upgrading/2.4-2.5/#out-of-bounds-symlinks-now-blocked-at-fetch Signed-off-by: GitHub <[email protected]>
- Loading branch information