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

Fix e2e tests on k8s environment #155

Merged
merged 1 commit into from
Jul 5, 2021

Commits on Jul 1, 2021

  1. Fix e2e tests on k8s environment

    DiscoverSriov uses IsSupportedDevice function from sriovv1
    package which relies on sriovv1.NicIdMap.
    After recent changes, NicIdMap is not a static map anymore.
    Need to update NicIdMap configmap with InitNicIdMap() function
    call before usage.
    
    Modify GetNodeSecureBootState to accept namespace argument.
    FIX GetNodeSecureBootState function to handle
    "/host/sys/kernel/security/lockdown" file absence correctly.
    This path will be unavailable if kernel is compiled without this
    feature.
    
    Signed-off-by: Yury Kulazhenkov <ykulazhenkov@nvidia.com>
    ykulazhenkov committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    04d337e View commit details
    Browse the repository at this point in the history