-
Notifications
You must be signed in to change notification settings - Fork 2.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Auto-Deploying Manifests ignores symlinked directories #9288
Comments
The deploy controller uses Line 118 in 6d77b7a
Can you explain your use case for wanting to keep your manifests outside the manifests dir? |
Hi, thanks for your quick reply! I'm using k3s in NixOS. In my case, I build my k3s configuration with Nix. All NixOS build results are placed in the Nix store ( However, while other methods exist for supplying configuration to applications in Nix, such as passing the configuration's path (inside Therefore, as a Nix user, it would be greatly beneficial if k3s could either recognize symbolic links for manifest discovery or offer a mechanism to incorporate additional search paths for manifests. |
Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Robert Rose <robert.rose@mailbox.org>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Signed-off-by: Robert Rose <robert.rose@mailbox.org> (cherry picked from commit 6886c09) Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
Validated on branch master with commit df5db28 / version 1.30Environment DetailsInfrastructure
Node(s) CPU architecture, OS, and Version:
Cluster Configuration:
Config.yaml:
Additional files
Testing Steps
Replication Results:
Validation Results:
Additional context / logs:
|
Environmental Info:
K3s Version: k3s version v1.26.6+k3s1 (3b1919b) go version go1.20.8
Node(s) CPU architecture, OS, and Version: Linux 6.1.59 #1-NixOS SMP PREEMPT_DYNAMIC Thu Oct 19 21:08:58 UTC 2023 x86_64 GNU/Linux
Cluster Configuration: single-node test
Describe the bug:
Auto-Deploying Manifests feature does not recognize manifests located in directory behind symlink.
Steps To Reproduce:
Expected behavior:
k3s kubectl get ns
contains namespace barActual behavior:
k3s kubectl get ns
does not contain namespace barAdditional context / logs:
bar.yaml
file into a regular directory in/var/lib/rancher/k3s/server/manifests
works as expected.The text was updated successfully, but these errors were encountered: