Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Checkup: Randomize ConfigMap name #66

Merged
merged 2 commits into from
Apr 8, 2024

Conversation

orelmisan
Copy link
Member

Currently, the ConfigMap that is used to inject the boot script to the VM under test has a constant name.

This prevents running multiple instances of the checkup in one namespace simultaneously.

Randomize the name, so the checkup could have multiple simultaneously running instances in a single namespace.

In order for the VMI under test and CM to have
the same random suffix - move the randomization
logic to the calling function.

Signed-off-by: Orel Misan <omisan@redhat.com>
Currently, the ConfigMap that is used to inject the boot script
to the VM under test has a constant name.

This prevents running multiple instances of the checkup
in one namespace simultaneously.

Randomize the name, so the checkup could have multiple simultaneously
running instances in a single namespace.

Signed-off-by: Orel Misan <omisan@redhat.com>
@orelmisan orelmisan requested a review from RamLavi April 8, 2024 09:55
@orelmisan
Copy link
Member Author

Tested on an OpenShift Virtualization 4.16 cluster.

Copy link
Collaborator

@RamLavi RamLavi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@orelmisan orelmisan merged commit be81393 into kiagnose:main Apr 8, 2024
5 checks passed
@orelmisan orelmisan deleted the make-cm-name-random branch April 8, 2024 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants