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

install.sh script fails to check pre-installed cilium binary #28

Open
vishnusomank opened this issue Jun 15, 2022 · 0 comments
Open

install.sh script fails to check pre-installed cilium binary #28

vishnusomank opened this issue Jun 15, 2022 · 0 comments
Assignees

Comments

@vishnusomank
Copy link

Cilium binary before running the script

➜  ~ whereis cilium
cilium: /usr/local/bin/cilium

Steps to reproduce

  • Setup a GKE cluster
  • Run ./install.sh

The output of install.sh

➜  ~ curl -s https://raw.githubusercontent.com/accuknox/tools/main/install.sh | bash
---=[License]=---
1. KubeArmor is licensed under the Apache License, Version 2.0. For details check (https://github.com/kubearmor/KubeArmor/blob/main/LICENSE)
2. The Cilium user space components are licensed under the Apache License, Version 2.0. The BPF code templates are licensed under the General Public License, Version 2.0.

[OK] Please read the license
[OK] helm found
[OK] karmor cli tool found
gke_formal-envelope-323909_us-central1-c_sample-cluster
[OK] k8s cluster accessibility
Installing cilium cli tool
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 21.5M  100 21.5M    0     0  8499k      0  0:00:02  0:00:02 --:--:-- 11.1M
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100    92  100    92    0     0    287      0 --:--:-- --:--:-- --:--:--     0
[sudo] password for zero:

Possible cause

  • check_prerequisites() lacks the ability to identify pre-installed cilium binary
  • Explicit cilium binary installation function [ install_cilium_cli() ] found in install.sh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants