Add support for the sleep pre-stop lifecycle action#2792
Add support for the sleep pre-stop lifecycle action#2792Tenzer wants to merge 1 commit intohashicorp:mainfrom
sleep pre-stop lifecycle action#2792Conversation
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
1 similar comment
|
Thank you for your submission! We require that all contributors sign our Contributor License Agreement ("CLA") before we can accept the contribution. Read and sign the agreement Learn more about why HashiCorp requires a CLA and what the CLA includes Have you signed the CLA already but the status is still pending? Recheck it. |
|
I haven't run tests yet, as I'd like to get confirmation that this is approximately the right set of changes to make for this. Also, it looks like there's only tests for the Also, how are docs updated? Are they handled manually or generated from some source? |
Rollback Plan
If a change needs to be reverted, we will publish an updated version of the library.
Changes to Security Controls
Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.
No
Description
This adds support for the
sleepaction as a pre-stop lifecycle hook. It was graduated to be stable functionality with Kubernetes 1.34:https://kubernetes.io/blog/2025/08/27/kubernetes-v1-34-release/#sleep-action-for-container-lifecycle-hooks
kubernetes/enhancements#3960
Acceptance tests
Output from acceptance testing:
Release Note
Release note for CHANGELOG:
References
Community Note