Comment 2 for bug 2061014

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to utilities (master)

Reviewed: https://review.opendev.org/c/starlingx/utilities/+/915504
Committed: https://opendev.org/starlingx/utilities/commit/a79f2d06c83d55743e37c753a8c2fac9a39416a4
Submitter: "Zuul (22348)"
Branch: master

commit a79f2d06c83d55743e37c753a8c2fac9a39416a4
Author: amantri <email address hidden>
Date: Thu Apr 11 15:09:44 2024 -0400

    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 <email address hidden>