Skip to content
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

clustermesh: Ignore symlink files on fsnotify events #14565

Merged
merged 1 commit into from
Jan 12, 2021

Commits on Jan 8, 2021

  1. clustermesh: Ignore symlink files on fsnotify events

    Kubernetes secrets are mapped into the pod using symlinks. The initial
    scan was already correctly ignoring symlinks but the fsnotify events
    have not been. This has resulted in invalid cluster configurations being
    added:
    
    ```
    ClusterMesh:            0/3 clusters ready, 0 global-services
       cluster2: not-ready, 0 nodes, 0 identities, 0 services, 0 failures (last: never)
       └  Waiting for initial connection to be established
       ..2021_01_08_21_11_57.892158678: not-ready, 0 nodes, 0 identities, 0 services, 0 failures (last: never)
       └  Waiting for initial connection to be established
       ..data: not-ready, 0 nodes, 0 identities, 0 services, 0 failures (last: never)
       └  Waiting for initial connection to be established
    ```
    
    Fixes: 076b018 ("Inter cluster connectivity (ClusterMesh)")
    
    Signed-off-by: Thomas Graf <thomas@cilium.io>
    tgraf committed Jan 8, 2021
    Configuration menu
    Copy the full SHA
    a8f7106 View commit details
    Browse the repository at this point in the history