utilities/utilities/platform-util
amantri a79f2d06c8 Remove renewal check for WRA certificates
In show-certs script to derive the renewal field for WRA certs
mon-elastic-services-secrets/ca.crt and
mon-elastic-services-secrets/ext-ca.crt, the contents are
compared with mon-elastic-services-ca-crt and
mon-elastic-services-extca-crt secrets respectively, this is
creating a confusion to the user from the show-certs script
output when WRA fails to update the certificates as per its
certificate management and also WRA certificates are managed by
cert-manager by default, so removing this condition and keeping
only secret exist check makes it clear for the user what is
expected from the script output.

TestCases:
PASS: Have different contents in mon-elastic-services-secrets/
      ca.crt and mon-elastic-services-ca-crt and notice the
      renewal field for mon-elastic-services-secrets/ca.crt
      shows as "Automatic"
PASS: Have different contents in mon-elastic-services-secrets/
      ext-ca.crt and mon-elastic-services-ext-ca-crt and notice the
      renewal field for mon-elastic-services-secrets/ext-ca.crt
      shows as "Automatic"

Closes-Bug: 2061014

Change-Id: Ib6e0627eda9b401210f2eda5c0fa8e613738a11e
Signed-off-by: amantri <ayyappa.mantri@windriver.com>
2024-04-11 15:32:22 -04:00
..
centos Create kubeconfig-setup script 2023-08-09 13:52:57 -03:00
debian Add ipmicap.sh: ipmitool wrapper to capture output to file 2023-12-18 10:26:15 -05:00
platform-util Add flake8-import-order and use python3.9 on tox 2022-09-13 21:49:41 +00:00
scripts Remove renewal check for WRA certificates 2024-04-11 15:32:22 -04:00