Skip to content
This repository has been archived by the owner on Nov 16, 2022. It is now read-only.

Commit

Permalink
Merge pull request #30 from vmuzikar/grafana-rel
Browse files Browse the repository at this point in the history
KEYCLOAK-17137 Remove spec.name from Grafana Dashboard
  • Loading branch information
stianst authored Feb 16, 2021
2 parents b70b790 + 5662d65 commit c77c04a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/model/grafana_dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ func GrafanaDashboard(cr *v1alpha1.Keycloak) *grafanav1alpha1.GrafanaDashboard {
},
Spec: grafanav1alpha1.GrafanaDashboardSpec{
Json: GrafanaDashboardJSON,
Name: "keycloak.json",
Plugins: []grafanav1alpha1.GrafanaPlugin{
{
Name: "grafana-piechart-panel",
Expand All @@ -38,7 +37,6 @@ func GrafanaDashboard(cr *v1alpha1.Keycloak) *grafanav1alpha1.GrafanaDashboard {
func GrafanaDashboardReconciled(cr *v1alpha1.Keycloak, currentState *grafanav1alpha1.GrafanaDashboard) *grafanav1alpha1.GrafanaDashboard {
reconciled := currentState.DeepCopy()
reconciled.Spec.Json = GrafanaDashboardJSON
reconciled.Spec.Name = "keycloak.json"
reconciled.Spec.Plugins = []grafanav1alpha1.GrafanaPlugin{
{
Name: "grafana-piechart-panel",
Expand Down

0 comments on commit c77c04a

Please sign in to comment.