Skip to content

Conversation

joestringer
Copy link
Member

The last change in this area baked in a hard expectation that the CLI is
run inside the Cilium tree, but this doesn't make sense. Relax it so the
code owners are only loaded when --log-code-owners is passed on the
command line.

Fixes: a7f4ba1 ("cli: Load code owners dynamically via --code-owners")
Reported-by: @giorio94

@joestringer joestringer requested a review from a team as a code owner March 11, 2025 17:50
@joestringer joestringer added the release-note/misc This PR makes changes that have no direct user impact. label Mar 11, 2025
@github-actions github-actions bot added cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary labels Mar 11, 2025
The last change in this area baked in a hard expectation that the CLI is
run inside the Cilium tree, but this doesn't make sense. Relax it so the
code owners are only loaded when --log-code-owners is passed on the
command line.

Fixes: a7f4ba1 ("cli: Load code owners dynamically via --code-owners")
Reported-by: Marco Iorio <marco.iorio@isovalent.com>
Signed-off-by: Joe Stringer <joe@cilium.io>
@joestringer joestringer force-pushed the pr/joe/allow-cli-outside-cilium-tree branch from 4d173a0 to edf6f31 Compare March 11, 2025 18:06
@joestringer
Copy link
Member Author

/test

@joestringer joestringer enabled auto-merge March 11, 2025 18:22
@joestringer joestringer added this pull request to the merge queue Mar 11, 2025
Merged via the queue into main with commit b2c3ec3 Mar 11, 2025
216 checks passed
@joestringer joestringer deleted the pr/joe/allow-cli-outside-cilium-tree branch March 11, 2025 20:42
@giorio94
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cilium-cli This PR contains changes related with cilium-cli cilium-cli-exclusive This PR only impacts cilium-cli binary 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.

3 participants