-
Notifications
You must be signed in to change notification settings - Fork 397
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
feat: add disableProvenance option to GrafanaAlertRuleGroupSpec #1715
feat: add disableProvenance option to GrafanaAlertRuleGroupSpec #1715
Conversation
729ddb1
to
807a92f
Compare
Thanks for the quick PR! From the previous discussion, I think we can call the option What's the take of the other maintainers on this? |
807a92f
to
92132ed
Compare
@theSuess Thanks for the advice, I've updated the code |
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 tested this against the newest Grafana version, and it does not work as the header does not actually use the value but just checks for presence of any value.
Which version did you test against?
@theSuess Actually I didn't run e2e test, I thought it's a straightforward change. I'll follow the contribute guide to run the test and fix it. |
Not sure if the e2e tests will catch this (since they can only introspect the kubernetes resources) but some manual testing should be enough |
92132ed
to
cd353f4
Compare
Hello @theSuess , I've updated the code and run manual test in my local env, here are the test results:
One thing worthy note is that the
|
cd353f4
to
cd05d8f
Compare
The error on enabling editing seems quite bad. |
I'd go with the immutable field, it's conceptually easier and is more robust - thanks for continuing to work on this! |
+1 for making the field immutable |
8e1499f
to
838284e
Compare
Manually tested in local environment, the immutability works:
|
838284e
to
3b1458f
Compare
92b080e
to
c36c375
Compare
I've changed the wording a bit and renamed a variable for clarity - thanks for working on this! |
To resolve issue #1710