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

IBU pre/post upgrade CSVs and seed node name validation #61

Merged
merged 1 commit into from
Feb 6, 2024

Conversation

mcornea
Copy link
Collaborator

@mcornea mcornea commented Feb 2, 2024

@mcornea mcornea force-pushed the ibu_validation_csv branch from 6afdc7a to 8d8974f Compare February 2, 2024 12:41
@mcornea mcornea marked this pull request as draft February 2, 2024 12:41
@mcornea mcornea changed the title Draft: IBU pre/post upgrade CSVs validation IBU pre/post upgrade CSVs validation Feb 2, 2024
var installedCSV []string

for _, csv := range csvList {
installedCSV = append(installedCSV, csv.Object.Name)
Copy link
Collaborator

Choose a reason for hiding this comment

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

duplicated entries would end up here from operators that are installed in all the namespaces(or ListClusterServiceVersionInAllNamespaces provides already filtered list or it's OK to have duplicated entries?)

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Currently there are no cluster wide operators installed on these nodes but I updated it so that it adds an operator to the list only if it's not there.

@mcornea mcornea force-pushed the ibu_validation_csv branch from 8d8974f to 2c7bf5c Compare February 5, 2024 14:02
@mcornea mcornea changed the title IBU pre/post upgrade CSVs validation IBU pre/post upgrade CSVs and seed node name validation Feb 5, 2024
@mcornea mcornea marked this pull request as ready for review February 5, 2024 14:10
@mcornea mcornea force-pushed the ibu_validation_csv branch from 2c7bf5c to 62b166a Compare February 5, 2024 14:22
@mcornea mcornea merged commit 8bf0dfe into openshift-kni:main Feb 6, 2024
1 check passed
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