Fix size configuration annotations for k8s-coredump-handler
Fix a issue where the size configuration annotations for
k8s-coredump-handler would throw an exception in case
the configuration used upper case size type (e.g 200K)
Test Plan:
PASS: Create and crash a pod with annotations configured
with a upper case and verify if coredump is generated
Reviewed: https:/ /review. opendev. org/c/starlingx /utilities/ +/869392 /opendev. org/starlingx/ utilities/ commit/ 80296b9907af272 4d3eaadcb1ad657 924430de34
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 80296b9907af272 4d3eaadcb1ad657 924430de34
Author: Heron Vieira <email address hidden>
Date: Thu Jan 5 15:49:15 2023 -0300
Fix size configuration annotations for k8s-coredump- handler
Fix a issue where the size configuration annotations for coredump- handler would throw an exception in case
k8s-
the configuration used upper case size type (e.g 200K)
Test Plan:
PASS: Create and crash a pod with annotations configured
with a upper case and verify if coredump is generated
Closes-bug: 2002024
Signed-off-by: Heron Vieira <email address hidden> 9905921b4c9a75b 9a17067fcab
Change-Id: I2952f7555b0568