Skip to content

fix(injector): use annotated values for debug container#13778

Merged
alpeb merged 1 commit into
linkerd:mainfrom
vishu42:fix-13636
Mar 18, 2025
Merged

fix(injector): use annotated values for debug container#13778
alpeb merged 1 commit into
linkerd:mainfrom
vishu42:fix-13636

Conversation

@vishu42

@vishu42 vishu42 commented Mar 12, 2025

Copy link
Copy Markdown
Contributor

Issue #13636 was opened stating that custom debug container annotations had no effect.

Quick investigation confirmed the issue and further debugging revealed a bug in code where the final values for helm chart were not using values processed by GetOverriddenValues function and that's why annotations had no effect for debug containers. This had been fixed now.

Added to unit test to test added code. Manual testing also done. The issue seems to be resolved.

Fixes #13636

Issue linkerd#13636 was opened stating that custom debug container annotations
had no effect.

Quick investigation confirmed the issue and further debugging revealed a
bug in code where the final values for helm chart were not using values
processed by GetOverriddenValues function and that's why annotations had
no effect for debug containers. This had been fixed now.

Added to unit test to test added code. Manual testing also done. The
issue seems to be resolved.

Fixes linkerd#13636

Signed-off-by: Vishal Tewatia <tewatiavishal3@gmail.com>
@vishu42 vishu42 requested a review from a team as a code owner March 12, 2025 10:03
@vishu42

vishu42 commented Mar 13, 2025

Copy link
Copy Markdown
Contributor Author

for some reason i can't open the issue since yesterday, its still at the top here, is it just me or others aren't able to view the issue as well?

@alpeb

alpeb commented Mar 13, 2025

Copy link
Copy Markdown
Member

I can't see the issue either, that's weird! Anyways, the problem is clear. Thanks for the submission; I'll give this a look in the next couple of days 👍

@alpeb alpeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is great, thank you!

@alpeb alpeb changed the title Use annotated values for debug container fix(injector): use annotated values for debug container Mar 18, 2025
@alpeb alpeb merged commit bd577de into linkerd:main Mar 18, 2025
alpeb added a commit that referenced this pull request Mar 18, 2025
Followup to #13778, where a new test case was introduced for testing the
debug container annotation, but didn't account for the new
LINKERD2_PROXY_CORES_MIN environment variable.
alpeb added a commit that referenced this pull request Mar 18, 2025
Followup to #13778, where a new test case was introduced for testing the
debug container annotation, but didn't account for the new
LINKERD2_PROXY_CORES_MIN environment variable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Annotations for setting debug image and debug image version not taking effect

3 participants