Comment 1 for bug 2029412

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

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

commit 95e774f3107b57448862ed681ad01a0e7a713cb9
Author: amantri <email address hidden>
Date: Wed Aug 2 16:00:09 2023 -0400

    Fix the output of show-certs script to correlate with the alarms

    The certificate names in the output of "show-certs.sh" are not
    correlated with the corresponding certificate expiry/expired
    alarms, this fix addresses this issue.

    Test Cases:
    PASS: Run the "show-certs.sh" on systemcontroller and verify the
          namespace,cert names in the output for admin-ep certs
    PASS: Run the "show-certs.sh" on subcloud and verify the
          namespace,cert names in the output for admin-ep certs
    PASS: Run the "show-certs.sh" on standalone and verify it works
          as expected
    PASS: Run the "show-certs.sh" and verify that "registry.local"
          changed to "docker_registry" to corelate with the alarm
    PASS: Run "show-certs.sh" script without -k and verify the
          filename is shown for ldap,ssl and docker-registry certs
    PASS: Run "show-certs.sh" with -k and verify namespace/secret
          name is shown in the output
    PASS: Run "show-cert.sh -k" and verify in the output that for
          "cm-cert-manager-webhook-ca" secret the renewal shows as
          "Auto renewal"

    Closes-bug: 2029412

    Change-Id: Icf08493f19bf529101488a8b5fa4278ed9b325fc
    Signed-off-by: amantri <email address hidden>