-
Notifications
You must be signed in to change notification settings - Fork 115
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
Update CRD schema for auto_enable in graph options #665
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this is just a standard, normal setting, let's make sure to also define the default in the defaults file: https://github.com/kiali/kiali-operator/blob/master/roles/default/kiali-deploy/defaults/main.yml
crd-docs/crd/kiali.io_kialis.yaml
Outdated
@@ -1057,6 +1057,9 @@ spec: | |||
expression: | |||
description: "The find expression." | |||
type: string | |||
auto_enable: | |||
description: "Enabled option by default" | |||
type: boolean |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alphabetize the list, please :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Thanks for the review, @jmazzitelli !
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm ok with this. @jshaughn originally wrote this stuff, have him take a look just so he at least knows about this.
Co-authored-by: John Mazzitelli <[email protected]>
Co-authored-by: John Mazzitelli <[email protected]>
I've made the changes for renaming. |
I'm OK leaving them. I like being explicit in that defaults yaml file. When I first started this, I made sure I put everything in there for consistency and to be explicit, to ensure the ConfigMap was the source of truth for the server and not that config.go hardcoded defaults. So to remain consistent with everything else, I would leave all of that in there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG!
Ref. kiali/kiali#6316