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(install-tetragon.sh) fix 'kind load docker-image' in kind setup #2735

Merged

Conversation

ScriptSathi
Copy link
Contributor

Fixes #2731

Description

When running make kind-setup, the tetragon images are not correctly pushed into kind, which leads to an error loopbackof in the cluster. It happens because of a formatting issue in the ./contrib/kind/install-tetragon.sh with yq. Quotes are added and are unnecessary, which lead to this format in bash "\"cilium/tetragon:latest\"".

@ScriptSathi ScriptSathi requested a review from a team as a code owner July 24, 2024 20:29
@ScriptSathi ScriptSathi requested a review from kevsecurity July 24, 2024 20:29
@ScriptSathi
Copy link
Contributor Author

I apologize to @mtardy for recreating this PR. I was doing a quick fix for this very small issue and did not follow the contribution guide. 🙏

@mtardy
Copy link
Member

mtardy commented Jul 25, 2024

I apologize to @mtardy for recreating this PR. I was doing a quick fix for this very small issue and did not follow the contribution guide. 🙏

hehe no need to apologize, thanks for the patch!

@mtardy mtardy added the release-note/misc This PR makes changes that have no direct user impact. label Jul 25, 2024
@mtardy mtardy requested a review from lambdanis July 25, 2024 07:58
Fixes cilium#2731

This commit correct the parsing of the yaml output from contrib/kind/values.yaml
file in contrib/kind/install-tetragon.sh. A quote is unintentionally
added and lead to an error in the tetragon deployment when added in kind.

Signed-off-by: Tristan d'Audibert <[email protected]>
@ScriptSathi ScriptSathi force-pushed the pr/ScriptSathi/fix-install-tetragon.sh branch from 9302f3e to 8303e17 Compare July 25, 2024 08:04
Copy link
Member

@mtardy mtardy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, indeed it works now with that, we had too much double quotes!

@mtardy mtardy removed the request for review from kevsecurity July 25, 2024 09:26
Copy link
Contributor

@lambdanis lambdanis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @ScriptSathi 🙇‍♀️

@lambdanis lambdanis merged commit 33da2bb into cilium:main Jul 25, 2024
37 of 38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release-note/misc This PR makes changes that have no direct user impact.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[kind-setup] ERROR: image: "\"cilium/tetragon:latest\"" not present locally
3 participants