-
Notifications
You must be signed in to change notification settings - Fork 108
Handle unsupported platform errors gracefully #14
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
Handle unsupported platform errors gracefully #14
Conversation
|
Yeah, as a general rule all operators everywhere must gracefully tolerate unrecognized platforms. See https://github.com/openshift/api/blob/master/config/v1/types_infrastructure.go#L34 for a quick description and |
|
This code lgtm, however, should the operator tell user somehow that it's running correctly but did not do anything useful on an unknown platform? "I see the operator running, it does not report any error, so where is my default storage class?" |
|
@jsafrane added reason field if unsupported platform is detected. PTAL |
|
reason should be camelcase. maybe put it in Message instead? |
7c16667 to
d94365d
Compare
|
@wongma7 fixed. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: gnufied, jsafrane The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/test e2e-aws |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
5 similar comments
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
|
/retest Please review the full test history for this PR and help us cut down flakes. |
storage-migration-for-etcd-encryption proposal
Unsupported platform isn't really a fatal error. We are just not going to install a storageclass. This fixes deployment on libvirt.