Skip to content

Commit

Permalink
grafana: update CRDs to new version structure.
Browse files Browse the repository at this point in the history
Signed-off-by: Hiram Chirino <[email protected]>
  • Loading branch information
chirino committed Mar 7, 2024
1 parent fb0fc8e commit 3a633db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ kind: GrafanaDashboard
metadata:
name: nexodus-dashboard
spec:
resyncPeriod: 30s
instanceSelector:
matchLabels:
dashboards: "nexodus-grafana"
json: >
{
"annotations": {
Expand Down
20 changes: 6 additions & 14 deletions deploy/nexodus-monitoring/base/grafana/grafana.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,11 @@ apiVersion: grafana.integreatly.org/v1beta1
kind: Grafana
metadata:
name: nexodus-grafana
labels:
dashboards: "nexodus-grafana"
spec:
client:
preferService: true
ingress:
enabled: true
hostname: grafana.127.0.0.1.nip.io
path: /
pathType: Prefix
preferIngress: false
config:
log:
mode: "console"
Expand All @@ -20,12 +17,7 @@ spec:
server:
root_url: http://grafana.127.0.0.1.nip.io
auth:
disable_login_form: false
disable_signout_menu: true
disable_login_form: "false"
disable_signout_menu: "true"
auth.anonymous:
enabled: true
dashboardLabelSelector:
- matchExpressions:
- key: app.kubernetes.io/component
operator: In
values: [grafana]
enabled: "true"

Check failure on line 23 in deploy/nexodus-monitoring/base/grafana/grafana.yaml

View workflow job for this annotation

GitHub Actions / k8s-lint

23:22 [new-line-at-end-of-file] no new line character at the end of file

0 comments on commit 3a633db

Please sign in to comment.