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

Minor cleanups in FQDN name manager #20886

Merged
merged 2 commits into from
Aug 16, 2022

Conversation

pippolo84
Copy link
Member

This PR introduces a couple of minor cleanups in the FQDN Name Manager code.
Refer to the individual commits for more details.

When no actual update takes place for a DNS name, we can skip to the
next <name, IPs> pair.
Since the test on the `updated` flag is carried out in a single for
loop, there is no need to use a label with the `continue` statement.

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@pippolo84 pippolo84 added kind/cleanup This includes no functional changes. release-note/minor This PR changes functionality that users may find relevant to operating Cilium. labels Aug 12, 2022
@pippolo84 pippolo84 requested review from a team as code owners August 12, 2022 15:19
Since `generateSelectorUpdates` is just a transparent wrapper of
`MapSelectorsToIPsLocked` and it is not used elsewhere, it can be
removed to directly call the underlying method.

Signed-off-by: Fabio Falzoi <fabio.falzoi@isovalent.com>
@aanm aanm requested review from joestringer and removed request for jrajahalme August 16, 2022 14:38
@aanm
Copy link
Member

aanm commented Aug 16, 2022

/test

Job 'Cilium-PR-K8s-1.22-kernel-5.4' failed:

Click to show.

Test Name

K8sDatapathConfig Host firewall With VXLAN

Failure Output

FAIL: Failed to reach 192.168.56.12:80 from testclient-67q2g

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

Job 'Cilium-PR-K8s-1.16-kernel-4.9' failed:

Click to show.

Test Name

K8sVerifier Runs the kernel verifier against Cilium's BPF datapath

Failure Output

FAIL: Failed to load BPF program bpf_host with datapath configuration:

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

@aanm aanm merged commit a11befb into cilium:master Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/cleanup This includes no functional changes. release-note/minor This PR changes functionality that users may find relevant to operating Cilium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants