-
Notifications
You must be signed in to change notification settings - Fork 354
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deploy/core: kubearmor for GKE latest COS images
* latest GKE COS images do not have path for /usr/src. * deploygen updated to create kubearmor.yamls accordingly Detailed description: GKE supports multiple images types, viz COS and non-COS(Ubuntu, Debian etc). In case of non-COS images, the `/usr/src` contains the kernel headers. In case of COS, kubearmor internally downloads the kernel headers but still it used to mount `/usr/src` since we used a single yaml for COS and non-COS images. In the latest releases of COS images (for e.g., 1.22.6-gke-1000), the `/usr/src` folder is no longer present. The current changes now mounts /usr to /opt/hostusr folder for GKE (only). The kubearmor code internally sets `BCC_KERNEL_SOURCE` to `/opt/hostusr/src/linux-headers-KERNELVER`. Fixes #579 Signed-off-by: Rahul Jadhav <nyrahul@gmail.com>
- Loading branch information
Showing
10 changed files
with
139 additions
and
161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.