Skip to content

Conversation

@nissessenap
Copy link
Collaborator

Follow the grafana datasource http api with values that are required. This way we can remove some logic in code and make it easier for our users.

fixes #1035

Follow the grafana datasource http api with values that are required.
},
},
out: []byte("{\"name\":\"prometheus\",\"user\":\"root\"}"),
out: []byte("{\"name\":\"prometheus\",\"type\":\"\",\"url\":\"\",\"access\":\"\",\"user\":\"root\"}"),
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Since the new values are required, the tests needed updating

@hubeadmin hubeadmin enabled auto-merge (squash) September 11, 2023 07:23
@hubeadmin hubeadmin merged commit 5ebf1f9 into grafana:master Sep 11, 2023
@nissessenap nissessenap deleted the dashboard_access branch September 11, 2023 07:35
rlanore added a commit to rlanore/aws-observability-accelerator that referenced this pull request Dec 7, 2023
elamaran11 pushed a commit to aws-observability/aws-observability-accelerator that referenced this pull request Dec 18, 2023
url mandatory for datasource since opeator version > 5.4.0

See: grafana/grafana-operator#1235
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug] CRD Validation is Invalid, Optional fields should be Required

2 participants