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

operator: Multiple same operators installed test #2542

Conversation

sebrandon1
Copy link
Member

@sebrandon1 sebrandon1 commented Oct 28, 2024

Adds a new mandatory test in the operator suite that checks to ensure the same CSV is not installed more than once. CSVs installed by OLM are uniquely named operator.version format. However it is possible to have the CSV exist in more than one namespace. The best practices document forbids that from being the case.

If you try to install an operator more than once in the same cluster using the UI, it prevents it with the following message:

image

So the only way you could get around this would be to manually apply YAMLs I would assume. I was able to do that in my own cluster.

@dcibot
Copy link
Collaborator

dcibot commented Oct 28, 2024

@dcibot
Copy link
Collaborator

dcibot commented Oct 28, 2024

@dcibot
Copy link
Collaborator

dcibot commented Oct 30, 2024

@sebrandon1 sebrandon1 force-pushed the multiple_same_operators branch 2 times, most recently from 91e290f to 5756123 Compare October 31, 2024 15:35
@dcibot
Copy link
Collaborator

dcibot commented Oct 31, 2024

@dcibot
Copy link
Collaborator

dcibot commented Oct 31, 2024

@dcibot
Copy link
Collaborator

dcibot commented Nov 1, 2024

@dcibot
Copy link
Collaborator

dcibot commented Nov 1, 2024

@sebrandon1 sebrandon1 force-pushed the multiple_same_operators branch 2 times, most recently from 2b8c9f0 to 7921c23 Compare November 1, 2024 21:16
@dcibot
Copy link
Collaborator

dcibot commented Nov 1, 2024

@sebrandon1 sebrandon1 force-pushed the multiple_same_operators branch 2 times, most recently from 8bc390c to d1dc30f Compare November 1, 2024 21:54
@dcibot
Copy link
Collaborator

dcibot commented Nov 1, 2024

@dcibot
Copy link
Collaborator

dcibot commented Nov 4, 2024

@sebrandon1 sebrandon1 merged commit 6627858 into redhat-best-practices-for-k8s:main Nov 4, 2024
35 checks passed
@sebrandon1 sebrandon1 deleted the multiple_same_operators branch November 4, 2024 17:44
@dcibot
Copy link
Collaborator

dcibot commented Nov 4, 2024

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants