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

v1.13 Backports 2023-08-23 #27651

Merged
merged 8 commits into from Aug 25, 2023
Merged

v1.13 Backports 2023-08-23 #27651

merged 8 commits into from Aug 25, 2023

Conversation

tklauser
Copy link
Member

@tklauser tklauser commented Aug 23, 2023

Once this PR is merged, you can update the PR labels via:

for pr in 27453 27495 27409 27457 27251 27537 27511 27590; do contrib/backporting/set-labels.py $pr done 1.13; done

or with

make add-labels BRANCH=v1.13 ISSUES=27453,27495,27409,27457,27251,27537,27511,27590

mhofstetter and others added 8 commits August 23, 2023 11:30
[ upstream commit e25bd05 ]

PR #24649 removed the deprecated support for adding fallback
HTTP log tags if the access log entry wasn't of type HTTP,
Kafka or GenericL7.

This removal leads to panics when the l7Tags function (`nil`)
is called while trying to enrich the log entry.

Therefore, this commit changes the behaviour by defaulting to an
noop l7Tags function if no specific L7 information are present.

Fixes: #27442

Signed-off-by: Marco Hofstetter <marco.hofstetter@isovalent.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[ upstream commit b7947bc ]

Signed-off-by: ishuar <ishansharma887@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[ upstream commit 0cd6932 ]

Signed-off-by: chentanjun <tanjunchen20@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[ upstream commit 4cb2a4b ]

AKS supported k8s versions changed.
This commit updates tested k8s versions for AKS

Signed-off-by: Birol Bilgin <birol@cilium.io>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
…ypes

[ upstream commit ec05fd4 ]

Fixes #24584

Signed-off-by: Jan Jansen <jan.jansen@gdata.de>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[ upstream commit 270be30 ]

We've been using a custom spelling filter to make sure that "WireGuard"
is spelled correctly, with the proper case. As it turns out, passing
this filter to the Sphinx configuration, in the conf.py file, makes
Sphinx re-read all sources and re-write all output files, as can be
observed when running sphinx-build multiple times, without suppressing
the output:

    $ sphinx-build -M html . _build
    [...]
    updating environment: [config changed ('spelling_filters')] 472 added, 30 changed, 0 removed
    [...]

This is because in conf.py, we pass the filter directly as a function.
When Sphinx writes its environment.pickle file to keep track of the
configuration in use, it discards values that cannot be serialised,
including the filter, "<class 'cilium_spellfilters.WireGuardFilter'>",
of instance "type" [0]. So the value for the configuration option
"spelling_filters" is not saved, and as Sphinx believes that the
configuration has changed, it reads and rebuilds everything.

In fact, the issue has been reported before, and solved in the
spellchecker [1]. We need to set the configuration with a string instead
of the direct function object, and the extension is able to load it from
there. Let's adjust accordingly, to save cycles when building the docs
more than once.

[0] https://github.com/sphinx-doc/sphinx/blob/v7.1.2/sphinx/config.py#L323
[1] sphinx-contrib/spelling#40

Signed-off-by: Quentin Monnet <quentin@isovalent.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[ upstream commit 164332f ]

v0.1.9 is the first release of certgen 1.5 years. As a patch release, it
doesn't contain any major changes but only updates to its dependencies
and the Go version that it's built with.

See release notes for details:
https://github.com/cilium/certgen/releases/tag/v0.1.9

Signed-off-by: Robin Hahling <robin.hahling@gw-computing.net>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
[ upstream commit c0a5fbe ]

After
0696874
refactored the logic to read annotations and change the default behavior,
addrs array was never assigned to newNode.IPAddresses after it was
populated.

Signed-off-by: Hemanth Malla <hemanth.malla@datadoghq.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
@tklauser tklauser added kind/backports This PR provides functionality previously merged into master. backport/1.13 This PR represents a backport for Cilium 1.13.x of a PR that was merged to main. labels Aug 23, 2023
@tklauser tklauser marked this pull request as ready for review August 23, 2023 11:33
@tklauser tklauser requested a review from a team as a code owner August 23, 2023 11:33
@tklauser
Copy link
Member Author

/test-backport-1.13

@doniacld
Copy link
Contributor

@tklauser tklauser removed the request for review from doniacld August 24, 2023 09:09
@tklauser
Copy link
Member Author

@joestringer joestringer merged commit 9cd5f48 into v1.13 Aug 25, 2023
121 checks passed
@joestringer joestringer deleted the pr/v1.13-backport-2023-08-23 branch August 25, 2023 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.13 This PR represents a backport for Cilium 1.13.x of a PR that was merged to main. kind/backports This PR provides functionality previously merged into master.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet