-
Notifications
You must be signed in to change notification settings - Fork 0
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
support-multiple-tenants-in-one-org #189
Conversation
60d8e3a
to
999bc3c
Compare
config/crd/observability.giantswarm.io_grafanaorganizations.yaml
Outdated
Show resolved
Hide resolved
999bc3c
to
bb9e438
Compare
@@ -0,0 +1,210 @@ | |||
package predicates |
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 am confused, what have those test to do with the changes in this PR ?
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.
Nothing, I forgot to push it in an earlier PR
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.
Ok happens, fine
@@ -224,14 +224,23 @@ func (r GrafanaOrganizationReconciler) configureSharedOrg(ctx context.Context) e | |||
return nil | |||
} | |||
|
|||
func newOrganization(grafanaOrganization *v1alpha1.GrafanaOrganization) *grafana.Organization { |
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.
Would be best when this function return no pointer.
bb9e438
to
d9b3fa4
Compare
What this PR does / why we need it
This PR adds support for multiple tenant in the grafana organization CRs to support multiple organizations on the read path for plaform teams and so on giantswarm/roadmap#3784
Checklist