-
Notifications
You must be signed in to change notification settings - Fork 930
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
Fix Istio sidecar injection by moving from annotations to labels #3044
base: master
Are you sure you want to change the base?
Fix Istio sidecar injection by moving from annotations to labels #3044
Conversation
Signed-off-by: madmecodes <[email protected]>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hello, for everything that has "upstream" in its path you also need to create a PR in the respective upstream repository where we synchronize the manifests from. For example kubeflow/pipelines, kubeflow/kubeflow. Please check out the synchronization scripts in /hack to see where what comes from. But leave this PR here open as well, we need it for all the integration tests. And please rebase (not merge) from master soon. |
/ok-to-test |
/retest |
@madmecodes Thank you for the PR.
|
@@ -13,6 +13,7 @@ spec: | |||
metadata: | |||
labels: | |||
component: metadata-envoy | |||
sidecar.istio.io/inject: "false" | |||
annotations: | |||
sidecar.istio.io/inject: "false" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
here its now there twice as annotation and label
apps/pipeline/upstream/base/installs/multi-user/pipelines-profile-controller/deployment.yaml
Outdated
Show resolved
Hide resolved
apps/pipeline/upstream/base/metadata/overlays/db/metadata-db-deployment.yaml
Show resolved
Hide resolved
apps/pipeline/upstream/base/metadata/overlays/postgres/metadata-db-deployment.yaml
Outdated
Show resolved
Hide resolved
apps/pipeline/upstream/third-party/metacontroller/base/stateful-set.yaml
Show resolved
Hide resolved
common/knative/knative-serving/base/patches/sidecar-injection.yaml
Outdated
Show resolved
Hide resolved
@juliusvonkohout Thanks for the feedback. Is there a way to run these tests locally before submitting PRs? I'm thinking of merging to my fork first to trigger the GitHub Actions pipeline, or is there another recommended approach to test? That would help me address issues proactively and ensure the changes work correctly with your CI pipeline. I'll fix the following: The YAML indentation issues in the two files mentioned Regarding upstream repos, I'll look into the hack/ directory scripts to identify which upstream repositories need corresponding PRs. Should I start with those after fixing this PR? |
Yes, did you check out https://github.com/kubeflow/manifests#pre-commit-hooks? And also all other tests / gha workflows are bash and python that you can run locally. It is also fine to use the ci/cd for testing. And yes we need the upstream PRs in parallel and merge them first. |
Signed-off-by: madmecodes <[email protected]>
Are you talking about
|
i have updated the PR |
Thank you, it looks good now. Now you have to create the corresponding PRs for the manifests in the upstream repositories. |
Upstream PRs like this right?
All upstream files PR done, but i cant find upstream for this file |
Thank you very much, you can take a look at https://github.com/kubeflow/manifests/blob/master/scripts/synchronize-training-operator-manifests.sh to see where it is coming from. |
training-operator is being renamed to trainer, i guess, okay i will look into it |
I recheked, but there is indeed no deployment file in trainer upstream, i did wildcard search also and couldn't find |
no worries, there is a lot of restructureing going on. Lets just get the oter PRs merged then. I started the CI/CD and tagged the maintainers for merging. |
Pull Request Template for Kubeflow Manifests
✏️ Summary of Changes
This PR fixes Istio sidecar injection by moving control from annotations to labels across all manifests, following Istio best practices documentation.
📦 Dependencies
No dependencies on other PRs.
🐛 Related Issues
Fixes #2798
✅ Contributor Checklist