-
Notifications
You must be signed in to change notification settings - Fork 67
Add Grafana resources #1121
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
Add Grafana resources #1121
Conversation
|
The following are automatically added:
Available user actions:
|
|
Kudos, SonarCloud Quality Gate passed!
|
| from ocp_resources.resource import NamespacedResource | ||
|
|
||
|
|
||
| class Grafana(NamespacedResource): |
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.
Empty class without to_dict implement required is not allowed.
Please introduce to_dict().
| from ocp_resources.resource import NamespacedResource | ||
|
|
||
|
|
||
| class GrafanaDataSource(NamespacedResource): |
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.
Empty class without to_dict implement required is not allowed.
Please introduce to_dict().
|
|
||
| """ | ||
| super().__init__(name=name, namespace=namespace, yaml_file=yaml_file, **kwargs) | ||
| self.label = label |
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.
All of those required? Please add verification for required args under if not self.yaml_file:
|
on hold due to recent release of v5 which altered the specs of the resources. |








Short description:
Add Grafana Resources for grafana-operator
https://github.com/grafana-operator/grafana-operator/