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

Falco version and driver version are not coupled anymore #1111

Merged
merged 10 commits into from
Mar 23, 2020

Conversation

leodido
Copy link
Member

@leodido leodido commented Mar 23, 2020

What type of PR is this?

/kind bug

/kind cleanup

Any specific area of the project related to this PR?

/area build

/area tests

What this PR does / why we need it:

This PR introduces some fixes and updates needed because the Falco version and the driver version are distinct values now.

So this PR mainly updates the falco-probe-loader script for this reason. Also renaming it to falco-driver-loader.
Futhermore, this script obtains now some values (like the DRIVER_VERSION variable value) at configuration time.

Finally it also ensures that the FALCO_VERSION env variable inside docker containers contains the same value returned by falco --version, not the docker image tag.

Which issue(s) this PR fixes:

Fixes #1107
Fixes #1110

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

update: falco-probe-loader script is falco-driver-loader now
new: falco version and driver version are distinct and not coupled anymore
fix: /usr/bin/falco-${DRIVER_VERSION} driver directory
fix: FALCO_VERSION env variable inside Falco containers contains the Falco version now (not the docker image tag)

leodido added 8 commits March 23, 2020 10:29
…e correct FALCO_VERSION env variable

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
… have exact FALCO_VERSION env variable

This avoids `FALCO_VERSION` variable to be equal to `latest` while
`falco --version` correctly returns 0.21.0

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
…sion

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
…inghuishes driver version from falco version

Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@leodido
Copy link
Member Author

leodido commented Mar 23, 2020

/cc @fntlnz

@poiana poiana requested a review from fntlnz March 23, 2020 13:53
CMakeLists.txt Show resolved Hide resolved
fntlnz
fntlnz previously approved these changes Mar 23, 2020
@poiana
Copy link
Contributor

poiana commented Mar 23, 2020

LGTM label has been added.

Git tree hash: 85e68d8a97229ab5431c158007d0c16a92773630

Signed-off-by: Lorenzo Fontana <lo@linux.com>
Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
@fntlnz fntlnz mentioned this pull request Mar 23, 2020
@leodido leodido requested a review from fntlnz March 23, 2020 17:05
@leodido
Copy link
Member Author

leodido commented Mar 23, 2020

/cc @kris-nova

@poiana poiana requested a review from krisnova March 23, 2020 17:24
@poiana
Copy link
Contributor

poiana commented Mar 23, 2020

LGTM label has been added.

Git tree hash: 2faf64b02d684c0d410cfac3352838e81721c1ff

@poiana
Copy link
Contributor

poiana commented Mar 23, 2020

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fntlnz, kris-nova

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Installing Falco Issue Falco 0.21.0 failed to start on GKE
4 participants