Skip to content

Set sidecar.istio.io/inject as label instead of annotation#2142

Merged
knative-prow[bot] merged 1 commit intoknative:mainfrom
folliehiyuki:istio-label
Mar 7, 2026
Merged

Set sidecar.istio.io/inject as label instead of annotation#2142
knative-prow[bot] merged 1 commit intoknative:mainfrom
folliehiyuki:istio-label

Conversation

@folliehiyuki
Copy link
Contributor

Description

It seems the fix was made for the other Knative-related repos, but not this one.

Changes

  • Set sidecar.istio.io/inject=true as Label instead of Annotation
  • Also fix TestDeleteProfileFlag test case since it should reference the test profile defined within the function instead of the annotation from Istio profile

Reference

Fixes #1969

https://istio.io/latest/docs/reference/config/annotations/#SidecarInject

@knative-prow knative-prow bot requested review from dprotaso and dsimansk March 1, 2026 09:53
@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 1, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: folliehiyuki / name: Hoang Nguyen (84a5510)

@knative-prow
Copy link

knative-prow bot commented Mar 1, 2026

Welcome @folliehiyuki! It looks like this is your first PR to knative/client 🎉

@knative-prow
Copy link

knative-prow bot commented Mar 1, 2026

Hi @folliehiyuki. Thanks for your PR.

I'm waiting for a knative member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@knative-prow knative-prow bot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Mar 1, 2026
@dprotaso
Copy link
Member

dprotaso commented Mar 6, 2026

/lgtm
/approve

@knative-prow knative-prow bot added lgtm Indicates that a PR is ready to be merged. approved Indicates a PR has been approved by an approver from all required OWNERS files. labels Mar 6, 2026
@dprotaso
Copy link
Member

dprotaso commented Mar 6, 2026

You'll have to sign the CLA and fix the build issues the PR introduces

Signed-off-by: Hoang Nguyen <folliekazetani@protonmail.com>
@knative-prow knative-prow bot removed the lgtm Indicates that a PR is ready to be merged. label Mar 7, 2026
@folliehiyuki
Copy link
Contributor Author

/retest

@knative-prow
Copy link

knative-prow bot commented Mar 7, 2026

@folliehiyuki: Cannot trigger testing until a trusted user reviews the PR and leaves an /ok-to-test message.

Details

In response to this:

/retest

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@folliehiyuki
Copy link
Contributor Author

I ran ./hack/build.sh -c to regenerate the docs.

@dprotaso
Copy link
Member

dprotaso commented Mar 7, 2026

/lgtm
/approve

@knative-prow knative-prow bot added the lgtm Indicates that a PR is ready to be merged. label Mar 7, 2026
@knative-prow
Copy link

knative-prow bot commented Mar 7, 2026

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dprotaso, folliehiyuki

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@dprotaso
Copy link
Member

dprotaso commented Mar 7, 2026

Thanks for the changes!

@codecov
Copy link

codecov bot commented Mar 7, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.88%. Comparing base (443be36) to head (84a5510).
⚠️ Report is 9 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2142   +/-   ##
=======================================
  Coverage   71.88%   71.88%           
=======================================
  Files         233      233           
  Lines       13533    13535    +2     
=======================================
+ Hits         9728     9730    +2     
  Misses       2999     2999           
  Partials      806      806           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@knative-prow knative-prow bot merged commit 9555ae2 into knative:main Mar 7, 2026
23 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. lgtm Indicates that a PR is ready to be merged. needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Migrate from istio inject annotation to label

2 participants