-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat(sdk): Add in ability to override the template handler for a BaseOp. #4955
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: alexlatchford 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 |
…ds the returned values
@alexlatchford: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. 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/test-infra repository. I understand the commands that are listed here. |
We have plans to implement ResourceOp on top of ContainerOp. It's also the way that Argo implements this internally - just a container with the executor which calls We have some reservations regarding exposing Argo-specific structures and types (e.g. What do you think? |
Maybe I'm lacking a little knowledge here about I guess taking a step back from an end user perspective what we're trying to achieve is:
I'd be happy with a
Makes sense, looking at the API I suspected this to be a blocker 😄 |
7542f0e
to
44d22a6
Compare
/assign @chensun @neuromage |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Closing this PR. No activity for more than a year. /close |
@rimolive: Closed this PR. In response to this:
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/test-infra repository. |
Description of your changes:
Argo has some great functionality the SDK doesn't expose by default. In particular, we're interested in using the
PodSecurityContext
andpodSpecPatch
functionality but needing to get in an upstream PR to leverage the functionality seems a little slow so wondering if this is an approach is something maintainers would consider.No cherry-picking required.
Example usage:
Going to guess this may not pass review given a desire to hide away the underlying scheduler but open to improving this as needed.