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

fix(OLM): ensure kepler can be created through Console #395

Merged

Conversation

sthaha
Copy link
Collaborator

@sthaha sthaha commented May 21, 2024

Previously, when creating Kepler instance through OpenShift Console / UI, the redfish spec which is optional also had its fields initialized as well. Notably redfish.secrefRef was initialized to "". This prevented creation of kepler instance since the secretRef is a required field.

This commit fixes the issue by marking redfish as optional and updating the default sample to reflect that.

@sthaha sthaha requested review from vimalk78 and vprashar2929 May 21, 2024 05:35
Copy link
Collaborator

@vimalk78 vimalk78 left a comment

Choose a reason for hiding this comment

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

/lgtm

Previously, when creating Kepler instance through OpenShift Console / UI,
the redfish spec which is optional also had its fields initialized as
well.  Notably `redfish.secrefRef` was initialized to "". This prevented
creation of `kepler` instance since the `secretRef` is a required field.

This commit fixes the issue by marking `redfish` as `optional` and
updating the default sample to reflect that.

Signed-off-by: Sunil Thaha <[email protected]>
@sthaha sthaha force-pushed the fix-kepler-creation branch from 8babd7f to 43132fa Compare May 21, 2024 05:50
@sthaha sthaha merged commit a5b98f8 into sustainable-computing-io:v1alpha1 May 21, 2024
9 checks 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