Skip to content

Commit

Permalink
Fix Grafana Pattern (#469)
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurinStreng authored Feb 15, 2025
1 parent fd74102 commit 7cd3fd4
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions grafana.integreatly.org/grafanaalertrulegroup_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@
},
"interval": {
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"name": {
Expand All @@ -101,7 +101,7 @@
"resyncPeriod": {
"default": "10m",
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"rules": {
Expand Down Expand Up @@ -170,7 +170,7 @@
},
"for": {
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"isPaused": {
Expand Down
2 changes: 1 addition & 1 deletion grafana.integreatly.org/grafanacontactpoint_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
"resyncPeriod": {
"default": "10m",
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"settings": {
Expand Down
2 changes: 1 addition & 1 deletion grafana.integreatly.org/grafanadashboard_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,7 @@
"default": "5m",
"description": "how often the dashboard is refreshed, defaults to 5m if not set",
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"uid": {
Expand Down
2 changes: 1 addition & 1 deletion grafana.integreatly.org/grafanadatasource_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"default": "5m",
"description": "how often the datasource is refreshed, defaults to 5m if not set",
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"valuesFrom": {
Expand Down
2 changes: 1 addition & 1 deletion grafana.integreatly.org/grafanafolder_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"default": "5m",
"description": "How often the folder is synced, defaults to 5m if not set",
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"title": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@
"resyncPeriod": {
"default": "10m",
"format": "duration",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00c2\u00b5s|ms|s|m|h))+$",
"pattern": "^([0-9]+(\\.[0-9]+)?(ns|us|\u00b5s|ms|s|m|h))+$",
"type": "string"
},
"route": {
Expand Down

0 comments on commit 7cd3fd4

Please sign in to comment.