Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Make TLS cert mount order consisitent #928

Merged

Conversation

vakwetu
Copy link
Contributor

@vakwetu vakwetu commented Jun 7, 2024

We iterate over the TLSCerts map to define the cert mounts. Because this is a map, though, the order is undefined. This causes kuttl tests to fail every so often because they expect a consistent mount order.

The simplest solution is to sort the map keys and then add the mounts in a consistent way.

We iterate over the TLSCerts map to define the cert mounts.  Because
this is a map, though, the order is undefined.  This causes kuttl tests
to fail every so often because they expect a consistent mount order.

The simplest solution is to sort the map keys and then add the mounts
in a consistent way.
@vakwetu vakwetu requested review from slagle and fao89 June 7, 2024 15:30
@openshift-ci openshift-ci bot requested review from olliewalsh and rabi June 7, 2024 15:30
Copy link
Contributor

openshift-ci bot commented Jun 7, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: fao89, slagle, vakwetu

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@vakwetu
Copy link
Contributor Author

vakwetu commented Jun 7, 2024

/retest

@vakwetu
Copy link
Contributor Author

vakwetu commented Jun 7, 2024

@slagle @fao89 the kuttl test failure reported above looks totally unrelated to my change. The failure occurs in a test suite in which tlsEnabled is set to False, which would mean that the code I changed wouldn't even be executed.

@openshift-merge-bot openshift-merge-bot bot merged commit 49b2cd8 into openstack-k8s-operators:main Jun 7, 2024
6 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants