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

Dashboards as CRDs #8

Merged
merged 8 commits into from
Mar 26, 2024
Merged

Dashboards as CRDs #8

merged 8 commits into from
Mar 26, 2024

Conversation

jgbernalp
Copy link
Contributor

This PR:

  • Moves the Perses controller and dashboards controller into folders
  • Adds API definitions and a dashboard controller for Perses Dashboards CRDs

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
@jgbernalp
Copy link
Contributor Author

Requires perses/perses#1764 so the CRD generation validates the correct types

@jgbernalp
Copy link
Contributor Author

addresses #4

Makefile Outdated Show resolved Hide resolved
@@ -0,0 +1,20 @@
package v1alpha1

import (

Choose a reason for hiding this comment

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

Not very important!
But since we're a scoped on the perses operator IMO we can avoid names like perses_dashboard we can call only dashboards.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I would prefer to keep the perses prefix as this will be in line with the CRD name and can avoid name collisions for example when defining rbac rules.

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
@jgbernalp
Copy link
Contributor Author

@nicolastakashi @Nexucis let me know if there are other things pending you'd like to review, otherwise I'd like to proceed to unblock #9

Copy link
Member

@Nexucis Nexucis left a comment

Choose a reason for hiding this comment

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

should be good once Perses version is bumped to v0.44.0

Signed-off-by: Gabriel Bernal <gbernal@redhat.com>
@jgbernalp jgbernalp merged commit 7ae604d into perses:main Mar 26, 2024
5 checks passed
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.

None yet

3 participants