-
Bug
-
Resolution: Unresolved
-
Undefined
-
None
-
4.15, 4.16, 4.17, 4.18
-
None
-
False
-
-
-
Bug Fix
-
In Progress
This is a clone of issue OCPBUGS-50523. The following is the description of the original issue:
—
Description of problem:
Audit-logs container was adjusted previously to handle SIGTERM using a trap and cleanup function. However due to behavior described here https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core the `$$` used to grab PID is not properly interpreted. This issue is to fix the script to handle this behavior correctly and make the cleanup be consistent with the changes to apply-bootstrap container for a similar ignored SIGTERM issue.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Create a hypershift cluster with auditing enabled 2. Delete apiserver pods and observe the script does not correctly handle sigterm. 3.
Actual results:
Expected results:
Additional info:
- clones
-
OCPBUGS-50523 Fix audit-logs container to properly handle SIGTERM
-
- ON_QA
-
- is blocked by
-
OCPBUGS-50523 Fix audit-logs container to properly handle SIGTERM
-
- ON_QA
-
- links to