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
[RHPAM-2658] Define value as byte #349
Conversation
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
/hold |
@ruromero please try to persist this change in kie-cloud-operator/tools/csv-gen/csv-gen.go Line 224 in 8d246ac
|
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
@tchughesiv I preferred to do it when the value is generated from a string to make it more reusable |
@ruromero @tchughesiv - hi folks, just a note that just discovered boolean switch will automatically set this false by default (unless otherwise set to "true" in the CR). It shouldn't be necessary to explicitly set false. Check out this link: https://github.com/openshift/console/blob/master/frontend/packages/operator-lifecycle-manager/src/components/descriptors/reference/reference.md#4-booleanswitch |
We can remove the flags but keep the change in the generator. Does that sound right? |
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
Right, though I don't see anything wrong with providing default values either... if anything, it's maybe more explicit and obvious to someone reviewing it. |
Signed-off-by: Ruben Romero Montes <rromerom@redhat.com>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: ruromero, spolti, tchughesiv The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/hold cancel |
just discovered that completely omitting value will show true on UI if using 4.2. It will default to false on 4.3 and 4.4 After discussing with UI team, setting the value here is discouraged. We are in the process of getting the docs updated. In the meantime, completely omit the value field. To influence the value you have two options:
|
Signed-off-by: Ruben Romero Montes rromerom@redhat.com
Fix https://issues.redhat.com/browse/RHPAM-2658
I have reproduced the issue and validated the fix on the following environment