[go: up one dir, main page]

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

daemon: ignore CILIUM_CUSTOM_CNI_CONF when writing cni configuration #23743

Merged
merged 1 commit into from
Feb 15, 2023

Conversation

squeed
Copy link
Contributor
@squeed squeed commented Feb 14, 2023

This file was overly-cautious when mimicking cni-install.sh's behavior. It turns out we want to be able to disable cni-install.sh but still have the daemon write the configuration file. This preserves existing behavior in 1.12.

Thus, we need to remove the bit that bails out if the environment variable is set.

Fixes: 12b7b11
Signed-off-by: Casey Callendrello cdc@isovalent.com

Fixes a bug where the Helm value `cni.configMap` no longer worked.

This file was overly-cautious when mimicking cni-install.sh's behavior.
It turns out we want to be able to disable cni-install.sh but still have
the daemon write the configuration file. This preserves existing
behavior in 1.12.

Thus, we need to remove the bit that bails out if the environment
variable is set.

Fixes: 12b7b11
Signed-off-by: Casey Callendrello <cdc@isovalent.com>
@squeed squeed added kind/bug This is a bug in the Cilium logic. release-note/bug This PR fixes an issue in a previous release of Cilium. needs-backport/1.13 affects/v1.13 This issue affects v1.13 branch labels Feb 14, 2023
@squeed squeed marked this pull request as ready for review February 14, 2023 15:25
@squeed squeed requested a review from a team as a code owner February 14, 2023 15:25
@squeed
Copy link
Contributor Author
squeed commented Feb 14, 2023

/test

Job 'Cilium-PR-K8s-1.25-kernel-4.19' failed:

Click to show.

Test Name

K8sKafkaPolicyTest Kafka Policy Tests KafkaPolicies

Failure Output

FAIL: L7 policy cannot be imported correctly

If it is a flake and a GitHub issue doesn't already exist to track it, comment /mlh new-flake Cilium-PR-K8s-1.25-kernel-4.19 so I can create one.

@squeed
Copy link
Contributor Author
squeed commented Feb 14, 2023

Test failure seems like a flake; Cilium was installed correctly but Kafka failed to go ready. One test failed, Cilium was successfully installed many times over the course of this CI run.

cmd: kubectl get pods -o wide --all-namespaces
Exitcode: -1 
Err: signal: killed

@squeed
Copy link
Contributor Author
squeed commented Feb 14, 2023

/test-1.25-4.19

@squeed
Copy link
Contributor Author
squeed commented Feb 15, 2023

All green except ci-verifier. (is that supposed to run with /test?

Copy link
Member
@pippolo84 pippolo84 left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

@squeed
Copy link
Contributor Author
squeed commented Feb 15, 2023

/ci-verifier

@maintainer-s-little-helper maintainer-s-little-helper bot added the ready-to-merge This PR has passed all tests and received consensus from code owners to merge. label Feb 15, 2023
@pchaigno pchaigno merged commit 4b803e9 into cilium:master Feb 15, 2023
@pchaigno pchaigno mentioned this pull request Feb 16, 2023
16 tasks
@tklauser tklauser removed the affects/v1.13 This issue affects v1.13 branch label Mar 28, 2023
@julianwiedmann julianwiedmann added backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. and removed backport-pending/1.13 labels Apr 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-done/1.13 The backport for Cilium 1.13.x for this PR is done. kind/bug This is a bug in the Cilium logic. ready-to-merge This PR has passed all tests and received consensus from code owners to merge. release-note/bug This PR fixes an issue in a previous release of Cilium.
Projects
No open projects
Status: Released
Development

Successfully merging this pull request may close these issues.

5 participants