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

Update CRD schema for auto_enable in graph options #665

Merged
merged 5 commits into from
Jul 3, 2023

Conversation

josunect
Copy link
Contributor

@josunect josunect added the enhancement New feature or request label Jun 28, 2023
@josunect josunect self-assigned this Jun 28, 2023
Copy link
Contributor

@jmazzitelli jmazzitelli left a 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

@@ -1057,6 +1057,9 @@ spec:
expression:
description: "The find expression."
type: string
auto_enable:
description: "Enabled option by default"
type: boolean
Copy link
Contributor

Choose a reason for hiding this comment

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

alphabetize the list, please :)

Copy link
Contributor Author

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 !

jmazzitelli
jmazzitelli previously approved these changes Jun 28, 2023
Copy link
Contributor

@jmazzitelli jmazzitelli left a 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.

@josunect
Copy link
Contributor Author

I've made the changes for renaming.
Should we remove them from the defaults yaml?

@jmazzitelli
Copy link
Contributor

Should we remove them from the defaults yaml?

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.

Copy link
Contributor

@jmazzitelli jmazzitelli left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@jshaughn jshaughn left a comment

Choose a reason for hiding this comment

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

LG!

@josunect josunect merged commit 15f6641 into kiali:master Jul 3, 2023
1 check passed
@josunect josunect deleted the issue6012 branch July 3, 2023 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

Successfully merging this pull request may close these issues.

3 participants