-
Couldn't load subscription status.
- Fork 88
apis: add WebHook action and job lifecycle events #183
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
base: master
Are you sure you want to change the base?
Conversation
|
Welcome @chuqing1997! |
|
[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 |
|
/assign @william-wang |
|
I want to implement the functionality mentioned in the issue of volcano sh/volcano # 4342. Because the Volcano repository relies on the apis repository, I made modifications to the apis first. This is my PR. Please review it. |
5d87302 to
f129152
Compare
Add support for WebHook action in LifecyclePolicy to enable HTTP callbacks when job state changes. This includes: - New Events: JobTerminated, JobCompleted, JobAborted, JobFailed - New Action: WebHook with configurable URL, method, headers, body and timeout - WebHookConfig struct for webhook configuration - Fix build constraint syntax in hack/tools.go for Go compatibility This enables users to configure webhook notifications for job completion states through the existing Policies mechanism. Signed-off-by: chuqing1997 <[email protected]>
f129152 to
4513285
Compare
You can replace your go.mod like |
|
@chuqing1997: PR needs rebase. 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. |
Add support for WebHook action in LifecyclePolicy to enable HTTP callbacks when job state changes. This includes:
This enables users to configure webhook notifications for job completion states through the existing Policies mechanism.